Simplify the interface to ProxyClientSocket::BuildTunnelRequest
commitcb934f563776e71df0e523f783496722acc99546
authorrch <rch@chromium.org>
Tue, 7 Apr 2015 16:25:12 +0000 (7 09:25 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Apr 2015 16:26:52 +0000 (7 16:26 +0000)
tree61de8f1e568f7f9a71cad99a110f734e6b36a244
parent77f08ab335da814a065dce6859a674b29e9c1294
Simplify the interface to ProxyClientSocket::BuildTunnelRequest
to only take the user-agent instead of a full HttpRequestInfo object.

This also changes the host header being sent in CONNECT requests
to include the port if it is 80, to match the behavior of the spec:

https://www.ietf.org/rfc/rfc2817.txt

Remove unused url argument to LogBlockedTunnelResponse

Review URL: https://codereview.chromium.org/1063563002

Cr-Commit-Position: refs/heads/master@{#324054}
jingle/glue/proxy_resolving_client_socket_unittest.cc
net/http/http_network_transaction_unittest.cc
net/http/http_proxy_client_socket.cc
net/http/proxy_client_socket.cc
net/http/proxy_client_socket.h
net/socket/ssl_client_socket_pool_unittest.cc
net/spdy/spdy_network_transaction_unittest.cc
net/spdy/spdy_proxy_client_socket.cc
net/websockets/websocket_stream_test.cc