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

Issue 152483003: [WebSocket] Add Cache-Control to the request header. (Closed)

Created:
6 years, 10 months ago by yhirano
Modified:
6 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[WebSocket] Add Cache-Control to the request header. In order to suppress cache on servers, added LOAD_BYPASS_CACHE to the load flags. Additionally, added some messages on opening handshake failure. BUG=339373 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248971

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : status code => response code #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : Unify two |headers| variables #

Total comments: 2

Patch Set 7 : #

Total comments: 6

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -56 lines) Patch
M net/websockets/websocket_basic_handshake_stream.h View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M net/websockets/websocket_basic_handshake_stream.cc View 1 2 3 4 5 6 7 6 chunks +38 lines, -39 lines 0 comments Download
M net/websockets/websocket_handshake_stream_create_helper_test.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M net/websockets/websocket_stream.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/websockets/websocket_stream_test.cc View 1 2 3 4 4 chunks +18 lines, -12 lines 0 comments Download
M net/websockets/websocket_test_util.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
yhirano
6 years, 10 months ago (2014-02-03 07:49:44 UTC) #1
Adam Rice
https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc File net/websockets/websocket_basic_handshake_stream.cc (right): https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc#newcode540 net/websockets/websocket_basic_handshake_stream.cc:540: OnFinishOpeningHandshake(); OnFinishOpeningHandshake() is also called at line 421, so ...
6 years, 10 months ago (2014-02-03 08:43:51 UTC) #2
yhirano
https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc File net/websockets/websocket_basic_handshake_stream.cc (right): https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc#newcode540 net/websockets/websocket_basic_handshake_stream.cc:540: OnFinishOpeningHandshake(); On 2014/02/03 08:43:52, Adam Rice wrote: > OnFinishOpeningHandshake() ...
6 years, 10 months ago (2014-02-03 09:32:52 UTC) #3
Adam Rice
https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc File net/websockets/websocket_basic_handshake_stream.cc (right): https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc#newcode540 net/websockets/websocket_basic_handshake_stream.cc:540: OnFinishOpeningHandshake(); On 2014/02/03 09:32:52, yhirano wrote: > On 2014/02/03 ...
6 years, 10 months ago (2014-02-04 03:52:46 UTC) #4
yhirano
https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc File net/websockets/websocket_basic_handshake_stream.cc (right): https://codereview.chromium.org/152483003/diff/90001/net/websockets/websocket_basic_handshake_stream.cc#newcode540 net/websockets/websocket_basic_handshake_stream.cc:540: OnFinishOpeningHandshake(); On 2014/02/04 03:52:46, Adam Rice wrote: > On ...
6 years, 10 months ago (2014-02-04 04:15:50 UTC) #5
Adam Rice
lgtm
6 years, 10 months ago (2014-02-04 04:19:21 UTC) #6
yhirano
+tyoshino for OWNER review
6 years, 10 months ago (2014-02-04 04:20:03 UTC) #7
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/152483003/diff/310001/net/websockets/websocket_basic_handshake_stream.cc File net/websockets/websocket_basic_handshake_stream.cc (right): https://codereview.chromium.org/152483003/diff/310001/net/websockets/websocket_basic_handshake_stream.cc#newcode551 net/websockets/websocket_basic_handshake_stream.cc:551: // We need to pass these through for authentication ...
6 years, 10 months ago (2014-02-04 05:33:52 UTC) #8
yhirano
https://codereview.chromium.org/152483003/diff/310001/net/websockets/websocket_basic_handshake_stream.cc File net/websockets/websocket_basic_handshake_stream.cc (right): https://codereview.chromium.org/152483003/diff/310001/net/websockets/websocket_basic_handshake_stream.cc#newcode551 net/websockets/websocket_basic_handshake_stream.cc:551: // We need to pass these through for authentication ...
6 years, 10 months ago (2014-02-04 05:37:39 UTC) #9
tyoshino (SeeGerritForStatus)
lgtm
6 years, 10 months ago (2014-02-05 07:52:22 UTC) #10
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 10 months ago (2014-02-05 07:53:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/152483003/420001
6 years, 10 months ago (2014-02-05 08:05:27 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-05 09:42:08 UTC) #13
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=45024
6 years, 10 months ago (2014-02-05 09:42:08 UTC) #14
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 10 months ago (2014-02-05 10:06:33 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/152483003/420001
6 years, 10 months ago (2014-02-05 10:08:02 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-05 11:19:40 UTC) #17
commit-bot: I haz the power
Retried try job too often on android_aosp for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_aosp&number=45079
6 years, 10 months ago (2014-02-05 11:19:41 UTC) #18
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 10 months ago (2014-02-05 11:51:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/152483003/420001
6 years, 10 months ago (2014-02-05 11:54:45 UTC) #20
commit-bot: I haz the power
6 years, 10 months ago (2014-02-05 12:28:52 UTC) #21
Message was sent while issue was closed.
Change committed as 248971

Powered by Google App Engine
This is Rietveld 408576698