Automatically pick port 443 for HTTPS

This commit is contained in:
Niels Sascha Reedijk
2013-02-07 18:06:45 +00:00
committed by Hamish Morrison
parent 4e607e1aae
commit f00edeb7e3
3 changed files with 15 additions and 8 deletions
+2
View File
@@ -23,6 +23,7 @@ class BAbstractSocket;
class BUrlProtocolHttp : public BUrlProtocol {
public:
BUrlProtocolHttp(BUrl& url, bool ssl = false,
const char *protocolName = "HTTP",
BUrlProtocolListener* listener = NULL,
BUrlContext* context = NULL,
BUrlResult* result = NULL);
@@ -62,6 +63,7 @@ private:
private:
BAbstractSocket* fSocket;
BNetworkAddress fRemoteAddr;
bool fSSL;
int8 fRequestMethod;
int8 fHttpVersion;