Browse Source

don't send proxy auth to https servers

David Rose 23 years ago
parent
commit
3c159a7bcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/downloader/httpChannel.cxx

+ 1 - 1
panda/src/downloader/httpChannel.cxx

@@ -2198,7 +2198,7 @@ void HTTPChannel::
 make_request_text() {
 make_request_text() {
   _request_text = _header;
   _request_text = _header;
 
 
-  if (!_proxy.empty() && 
+  if (!_proxy.empty() && !_proxy_tunnel &&
       _proxy_auth != (HTTPAuthorization *)NULL && !_proxy_username.empty()) {
       _proxy_auth != (HTTPAuthorization *)NULL && !_proxy_username.empty()) {
     _request_text += "Proxy-Authorization: ";
     _request_text += "Proxy-Authorization: ";
     _request_text += 
     _request_text +=