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

Issue 2743003: Add Spdy support in WebSocketHandshake*Handler (Closed)

Created:
10 years, 6 months ago by ukai
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add Spdy support in WebSocketHandshake*Handler BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51109

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix #

Total comments: 8

Patch Set 3 : fix #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -14 lines) Patch
M net/websockets/websocket_handshake_handler.h View 3 chunks +10 lines, -1 line 0 comments Download
M net/websockets/websocket_handshake_handler.cc View 1 2 3 chunks +104 lines, -12 lines 0 comments Download
M net/websockets/websocket_handshake_handler_unittest.cc View 1 2 2 chunks +145 lines, -1 line 3 comments Download

Messages

Total messages: 13 (0 generated)
ukai
10 years, 6 months ago (2010-06-08 11:07:40 UTC) #1
tyoshino (SeeGerritForStatus)
Could you add a test case to check "multiple values for the same key".
10 years, 6 months ago (2010-06-09 02:55:02 UTC) #2
Yuta Kitamura
http://codereview.chromium.org/2743003/diff/1/2 File net/websockets/websocket_handshake_handler.cc (right): http://codereview.chromium.org/2743003/diff/1/2#newcode247 net/websockets/websocket_handshake_handler.cc:247: std::string new_value = (*headers)[name]; This code looks up a ...
10 years, 6 months ago (2010-06-09 03:39:30 UTC) #3
ukai
http://codereview.chromium.org/2743003/diff/1/2 File net/websockets/websocket_handshake_handler.cc (right): http://codereview.chromium.org/2743003/diff/1/2#newcode247 net/websockets/websocket_handshake_handler.cc:247: std::string new_value = (*headers)[name]; On 2010/06/09 03:39:30, Yuta Kitamura ...
10 years, 6 months ago (2010-06-14 09:03:04 UTC) #4
tyoshino (SeeGerritForStatus)
thank you for adding a test. Could you also cover GetRequestHeaderBlock for multiple value for ...
10 years, 6 months ago (2010-06-24 08:11:14 UTC) #5
Paweł Hajdan Jr.
Drive-by with some test comments. No need to wait for another review by me. http://codereview.chromium.org/2743003/diff/6001/7003 ...
10 years, 6 months ago (2010-06-24 08:14:50 UTC) #6
ukai
http://codereview.chromium.org/2743003/diff/6001/7001 File net/websockets/websocket_handshake_handler.cc (right): http://codereview.chromium.org/2743003/diff/6001/7001#newcode233 net/websockets/websocket_handshake_handler.cc:233: // Ignore "Sec-WebSocket-Key1" header. On 2010/06/24 08:11:14, tyoshino wrote: ...
10 years, 5 months ago (2010-06-29 05:34:26 UTC) #7
tyoshino (SeeGerritForStatus)
LGTM
10 years, 5 months ago (2010-06-29 07:00:47 UTC) #8
Yuta Kitamura
LGTM with one nit. http://codereview.chromium.org/2743003/diff/14001/15003 File net/websockets/websocket_handshake_handler_unittest.cc (right): http://codereview.chromium.org/2743003/diff/14001/15003#newcode296 net/websockets/websocket_handshake_handler_unittest.cc:296: "sec-websocket-location: ws://example.com/demo\r\n" Why these header ...
10 years, 5 months ago (2010-06-29 09:09:08 UTC) #9
ukai
http://codereview.chromium.org/2743003/diff/14001/15003 File net/websockets/websocket_handshake_handler_unittest.cc (right): http://codereview.chromium.org/2743003/diff/14001/15003#newcode296 net/websockets/websocket_handshake_handler_unittest.cc:296: "sec-websocket-location: ws://example.com/demo\r\n" On 2010/06/29 09:09:08, Yuta Kitamura wrote: > ...
10 years, 5 months ago (2010-06-29 09:14:18 UTC) #10
Yuta Kitamura
http://codereview.chromium.org/2743003/diff/14001/15003 File net/websockets/websocket_handshake_handler_unittest.cc (right): http://codereview.chromium.org/2743003/diff/14001/15003#newcode296 net/websockets/websocket_handshake_handler_unittest.cc:296: "sec-websocket-location: ws://example.com/demo\r\n" I know it's valid, but I'm a ...
10 years, 5 months ago (2010-06-29 09:20:33 UTC) #11
ukai
On 2010/06/29 09:20:33, Yuta Kitamura wrote: > http://codereview.chromium.org/2743003/diff/14001/15003 > File net/websockets/websocket_handshake_handler_unittest.cc (right): > > http://codereview.chromium.org/2743003/diff/14001/15003#newcode296 ...
10 years, 5 months ago (2010-06-29 09:29:29 UTC) #12
Yuta Kitamura
10 years, 5 months ago (2010-06-29 09:51:36 UTC) #13
On 2010/06/29 09:29:29, ukai wrote:
> Since case is not significant here, I think Web Inspector may show them with
> capitalizing or so.

Capitalization is not trivial, "websocket" -> "WebSocket", "WWW-Authenticate" or
"Content-MD5" for example. Inspector currently shows exactly what the server
sent. If we are able to know "raw" header names, it's probably best.

Sounds like out-of-topic already, let's stop the discussion. I don't care about
the case much.

Powered by Google App Engine
This is Rietveld 408576698