summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorrch <rch@chromium.org>2015-04-07 09:25:12 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-07 16:26:52 +0000
commitcb934f563776e71df0e523f783496722acc99546 (patch)
tree61de8f1e568f7f9a71cad99a110f734e6b36a244 /jingle
parent77f08ab335da814a065dce6859a674b29e9c1294 (diff)
downloadchromium_src-cb934f563776e71df0e523f783496722acc99546.zip
chromium_src-cb934f563776e71df0e523f783496722acc99546.tar.gz
chromium_src-cb934f563776e71df0e523f783496722acc99546.tar.bz2
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}
Diffstat (limited to 'jingle')
-rw-r--r--jingle/glue/proxy_resolving_client_socket_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/jingle/glue/proxy_resolving_client_socket_unittest.cc b/jingle/glue/proxy_resolving_client_socket_unittest.cc
index 2ba81b2..41c01d2 100644
--- a/jingle/glue/proxy_resolving_client_socket_unittest.cc
+++ b/jingle/glue/proxy_resolving_client_socket_unittest.cc
@@ -84,7 +84,7 @@ TEST_F(ProxyResolvingClientSocketTest, ReportsBadProxies) {
};
net::MockWrite writes[] = {
net::MockWrite("CONNECT example.com:443 HTTP/1.1\r\n"
- "Host: example.com:443\r\n"
+ "Host: example.com\r\n"
"Proxy-Connection: keep-alive\r\n\r\n")
};
net::StaticSocketDataProvider socket_data2(reads, arraysize(reads),