You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a proxy is configured and the target service is running on a non-default port number (80 for http://, and 443 for https://), the connection always fails because the port number is not passed to the proxy server.
Purposed fix
diff --git a/src/RequestImpl.cpp b/src/RequestImpl.cpp
index bf7c862..f8028ab 100644
--- a/src/RequestImpl.cpp+++ b/src/RequestImpl.cpp@@ -179,7 +179,7 @@ private:
request_buffer << Verb(request_type_) << ' ';
if (properties_->proxy.type == Request::Proxy::Type::HTTP) {
- request_buffer << parsed_url_.GetProtocolName() << parsed_url_.GetHost();+ request_buffer << parsed_url_.GetProtocolName() << parsed_url_.GetHost() << ':' << parsed_url_.GetPort();
}
// Add arguments to the path as ?name=value&name=value...
The text was updated successfully, but these errors were encountered:
If a proxy is configured and the target service is running on a non-default port number (80 for http://, and 443 for https://), the connection always fails because the port number is not passed to the proxy server.
Purposed fix
The text was updated successfully, but these errors were encountered: