Fix the logic for using an HTTP proxy without a tunnel
commit425cf12869fd826d1fceeb5071d3747e88406e6b
authorAdam Rice <ricea@chromium.org>
Mon, 19 Jan 2015 06:18:24 +0000 (19 15:18 +0900)
committerAdam Rice <ricea@chromium.org>
Mon, 19 Jan 2015 06:19:09 +0000 (19 06:19 +0000)
treee2b5714e6a13c8c21e3f8adc31f4ad96f76a6307
parentab3090304649f96826175fc6a553fd0b6793bd5d
Fix the logic for using an HTTP proxy without a tunnel

The logic for determining whether HttpNetworkTransaction was using an HTTP proxy but not tunneled was incorrect for the case of WebSockets. Fix it.

BUG=446459
TEST=net_unittests
R=mmenke@chromium.org, tyoshino@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#312073}
chrome/browser/net/proxy_browsertest.cc
net/data/websocket/echo-request-headers_wsh.py [new file with mode: 0644]
net/data/websocket/proxied_request_check.html [new file with mode: 0644]
net/http/http_network_transaction.cc
net/http/http_network_transaction.h
net/http/http_network_transaction_unittest.cc