Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Issue 902553002: Change error message for WebSocket tunnel failure. (Closed)

Created:
5 years, 10 months ago by Adam Rice
Modified:
5 years, 10 months ago
Reviewers:
yhirano
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change error message for WebSocket tunnel failure. Currently a proxy refusal to allow a WebSocket to establish a tunnel results in an error message like: WebSocket connection to 'ws://foo:5036/' failed: Error in connection establishment: net::ERR_TUNNEL_CONNECTION_FAILED It is not obvious from this message that a proxy is the cause of the problem. Change the message to: WebSocket connection to 'ws://foo:5036/' failed: Establishing a tunnel via proxy server failed. BUG=454311 TEST=net_unittests, browser_tests, layout tests Committed: https://crrev.com/38fc268cf47aafb1c0bcc30611d68916caa3a6e4 Cr-Commit-Position: refs/heads/master@{#315257}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Declare and include ProxyService in test_util files. #

Patch Set 3 : Rename kTruncatedResponse to kProxyResponse #

Patch Set 4 : Fix memory leak and simplify SetProxyService() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -3 lines) Patch
M net/websockets/websocket_stream.cc View 3 chunks +16 lines, -3 lines 0 comments Download
M net/websockets/websocket_stream_test.cc View 1 2 3 2 chunks +29 lines, -0 lines 0 comments Download
M net/websockets/websocket_test_util.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M net/websockets/websocket_test_util.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Adam Rice
Sorry to add to your review burden, but since you are currently in the middle ...
5 years, 10 months ago (2015-02-05 15:06:22 UTC) #2
yhirano
https://codereview.chromium.org/902553002/diff/1/net/websockets/websocket_stream_test.cc File net/websockets/websocket_stream_test.cc (right): https://codereview.chromium.org/902553002/diff/1/net/websockets/websocket_stream_test.cc#newcode1423 net/websockets/websocket_stream_test.cc:1423: static const char kTruncatedResponse[] = Is this truncated? https://codereview.chromium.org/902553002/diff/1/net/websockets/websocket_test_util.h ...
5 years, 10 months ago (2015-02-06 04:27:01 UTC) #3
Adam Rice
https://codereview.chromium.org/902553002/diff/1/net/websockets/websocket_stream_test.cc File net/websockets/websocket_stream_test.cc (right): https://codereview.chromium.org/902553002/diff/1/net/websockets/websocket_stream_test.cc#newcode1423 net/websockets/websocket_stream_test.cc:1423: static const char kTruncatedResponse[] = On 2015/02/06 04:27:01, yhirano ...
5 years, 10 months ago (2015-02-06 08:05:57 UTC) #4
Adam Rice
https://codereview.chromium.org/902553002/diff/1/net/websockets/websocket_test_util.h File net/websockets/websocket_test_util.h (right): https://codereview.chromium.org/902553002/diff/1/net/websockets/websocket_test_util.h#newcode29 net/websockets/websocket_test_util.h:29: class DeterministicSocketData; On 2015/02/06 04:27:01, yhirano wrote: > + ...
5 years, 10 months ago (2015-02-06 08:06:14 UTC) #5
yhirano
lgtm
5 years, 10 months ago (2015-02-06 09:16:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902553002/60001
5 years, 10 months ago (2015-02-09 01:26:53 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-09 02:41:38 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 02:42:14 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/38fc268cf47aafb1c0bcc30611d68916caa3a6e4
Cr-Commit-Position: refs/heads/master@{#315257}

Powered by Google App Engine
This is Rietveld 408576698