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

Issue 9705046: Switch CreateSpdyHeadersFromHttpRequest to construct the correct headers based on the spdy protocol… (Closed)

Created:
8 years, 9 months ago by Ryan Hamilton
Modified:
8 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Send correct request headers when using spdy 3. Require the spdy protocol version to be passed to CreateSpdyHeadersFromHttpRequest so that the correct headers will be generated. Add GetProtocolVersion methods to SpdyStream and SpdySession. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126950

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix raman's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -195 lines) Patch
M net/spdy/spdy_http_stream.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_http_stream_spdy3_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_http_utils.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_http_utils.cc View 1 2 chunks +18 lines, -8 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy3_unittest.cc View 6 chunks +35 lines, -35 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 1 1 chunk +8 lines, -3 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M net/spdy/spdy_session.h View 1 chunk +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 1 4 chunks +4 lines, -77 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream.h View 2 chunks +6 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream.cc View 2 chunks +30 lines, -14 lines 0 comments Download
M net/spdy/spdy_stream_spdy2_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream_spdy3_unittest.cc View 6 chunks +46 lines, -21 lines 0 comments Download
M net/spdy/spdy_test_util_spdy3.cc View 5 chunks +26 lines, -26 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ryan Hamilton
8 years, 9 months ago (2012-03-15 02:45:31 UTC) #1
ramant (doing other things)
lgtm http://codereview.chromium.org/9705046/diff/1/net/spdy/spdy_http_utils.cc File net/spdy/spdy_http_utils.cc (right): http://codereview.chromium.org/9705046/diff/1/net/spdy/spdy_http_utils.cc#newcode117 net/spdy/spdy_http_utils.cc:117: headers->erase("host"); // this is kinda insane, spdy 3 ...
8 years, 9 months ago (2012-03-15 05:41:34 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/9705046/19
8 years, 9 months ago (2012-03-15 16:17:48 UTC) #3
Ryan Hamilton
Thanks for the review, Raman. http://codereview.chromium.org/9705046/diff/1/net/spdy/spdy_http_utils.cc File net/spdy/spdy_http_utils.cc (right): http://codereview.chromium.org/9705046/diff/1/net/spdy/spdy_http_utils.cc#newcode117 net/spdy/spdy_http_utils.cc:117: headers->erase("host"); // this is ...
8 years, 9 months ago (2012-03-15 16:38:06 UTC) #4
commit-bot: I haz the power
8 years, 9 months ago (2012-03-15 18:42:20 UTC) #5
Change committed as 126950

Powered by Google App Engine
This is Rietveld 408576698