Browse Source

server:port

David Rose 23 years ago
parent
commit
d1053bf2c3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/downloader/httpClient.cxx

+ 2 - 2
panda/src/downloader/httpClient.cxx

@@ -531,8 +531,8 @@ get_https_proxy(const string &method, const URLSpec &url, const string &body) {
   {
     ostringstream request;
     request 
-      << "CONNECT " << url.get_authority() << " " << get_http_version_string()
-      << "\r\n";
+      << "CONNECT " << url.get_server() << ":" << url.get_port()
+      << " " << get_http_version_string() << "\r\n";
     string request_str = request.str();
 
 #ifndef NDEBUG