298502 CONNECT uses same HTTP version as original request
This commit is contained in:
parent
61b2a5c751
commit
dc3445cea2
|
@ -673,6 +673,7 @@ public class HttpDestination implements Dumpable
|
|||
this.proxyEndPoint = proxyEndPoint;
|
||||
this.exchange = exchange;
|
||||
setMethod(HttpMethods.CONNECT);
|
||||
setVersion(exchange.getVersion());
|
||||
String serverHostAndPort = serverAddress.toString();
|
||||
setURI(serverHostAndPort);
|
||||
addRequestHeader(HttpHeaders.HOST, serverHostAndPort);
|
||||
|
|
Loading…
Reference in New Issue