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

Issue 17004007: [SPDY] Fix SpdySession's handling of SYN_REPLY frames (Closed)

Created:
7 years, 6 months ago by akalin
Modified:
7 years, 6 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

[SPDY] Fix SpdySession's handling of SYN_REPLY frames It sent the wrong error code for duplicate SYN_REPLY frames. Also, it didn't trigger an error for data frames sent before SYN_REPLY. Update tests to match. Add {Active,Pushed}StreamInfo structs and use them in {Active,Pushed}StreamMap. Be defensive when closing expired push streams. Give the correct name to SpdyHttpStream tests. BUG=252556 R=rch@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207885

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -76 lines) Patch
M net/spdy/spdy_http_stream_unittest.cc View 12 chunks +14 lines, -14 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M net/spdy/spdy_session.h View 1 chunk +19 lines, -3 lines 2 comments Download
M net/spdy/spdy_session.cc View 24 chunks +105 lines, -57 lines 2 comments Download
M net/spdy/spdy_stream.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
akalin
+rch for review
7 years, 6 months ago (2013-06-21 02:12:23 UTC) #1
Ryan Hamilton
lgtm https://chromiumcodereview.appspot.com/17004007/diff/1/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (left): https://chromiumcodereview.appspot.com/17004007/diff/1/net/spdy/spdy_session.cc#oldcode1791 net/spdy/spdy_session.cc:1791: RecordProtocolErrorHistogram(PROTOCOL_ERROR_SYN_REPLY_NOT_RECEIVED); Did this get lost or is it ...
7 years, 6 months ago (2013-06-21 15:35:37 UTC) #2
akalin
committing soon https://chromiumcodereview.appspot.com/17004007/diff/1/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (left): https://chromiumcodereview.appspot.com/17004007/diff/1/net/spdy/spdy_session.cc#oldcode1791 net/spdy/spdy_session.cc:1791: RecordProtocolErrorHistogram(PROTOCOL_ERROR_SYN_REPLY_NOT_RECEIVED); On 2013/06/21 15:35:37, Ryan Hamilton wrote: ...
7 years, 6 months ago (2013-06-21 18:30:44 UTC) #3
akalin
7 years, 6 months ago (2013-06-21 18:31:00 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r207885 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698