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

Issue 243643002: Refactor RST_STREAM status code handling. (Closed)

Created:
6 years, 8 months ago by Johnny
Modified:
6 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Visibility:
Public.

Description

Refactor RST_STREAM status code handling. Also handle SPDY4/HTTP2 status codes. This lands server change 63409085 by hkhalil. Fix an off-by-one DCHECK for frame lengths equal to the frame limit. This lands server change 63285101 by raullenchai. BUG=345769

Patch Set 1 #

Total comments: 6

Patch Set 2 : Minor build fixes. #

Patch Set 3 : Expanded FRAME_TOO_LARGE/FRAME_SIZE_ERROR comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -22 lines) Patch
M net/spdy/spdy_frame_builder.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_framer.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M net/spdy/spdy_framer_test.cc View 2 chunks +7 lines, -7 lines 0 comments Download
M net/spdy/spdy_protocol.h View 1 2 4 chunks +29 lines, -3 lines 0 comments Download
M net/spdy/spdy_protocol.cc View 1 1 chunk +171 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.h View 3 chunks +7 lines, -3 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 chunk +8 lines, -2 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Johnny
Ryan for SPDY review / Jim for histograms.xml. Thanks
6 years, 8 months ago (2014-04-21 23:17:23 UTC) #1
jar (doing other things)
https://codereview.chromium.org/243643002/diff/1/net/spdy/spdy_protocol.h File net/spdy/spdy_protocol.h (right): https://codereview.chromium.org/243643002/diff/1/net/spdy/spdy_protocol.h#newcode373 net/spdy/spdy_protocol.h:373: RST_STREAM_FRAME_SIZE_ERROR = 11, // Equivalent to FRAME_TOO_LARGE nit: If ...
6 years, 8 months ago (2014-04-22 00:02:59 UTC) #2
Johnny
https://codereview.chromium.org/243643002/diff/1/net/spdy/spdy_protocol.h File net/spdy/spdy_protocol.h (right): https://codereview.chromium.org/243643002/diff/1/net/spdy/spdy_protocol.h#newcode373 net/spdy/spdy_protocol.h:373: RST_STREAM_FRAME_SIZE_ERROR = 11, // Equivalent to FRAME_TOO_LARGE On 2014/04/22 ...
6 years, 8 months ago (2014-04-22 00:31:27 UTC) #3
Ryan Hamilton
lgtm
6 years, 8 months ago (2014-04-22 03:34:07 UTC) #4
jar (doing other things)
https://codereview.chromium.org/243643002/diff/1/net/spdy/spdy_protocol.h File net/spdy/spdy_protocol.h (right): https://codereview.chromium.org/243643002/diff/1/net/spdy/spdy_protocol.h#newcode373 net/spdy/spdy_protocol.h:373: RST_STREAM_FRAME_SIZE_ERROR = 11, // Equivalent to FRAME_TOO_LARGE On 2014/04/22 ...
6 years, 8 months ago (2014-04-25 16:03:44 UTC) #5
Johnny
> OK... good enough. Might be worth a comment... but your choice. I've expanded the ...
6 years, 8 months ago (2014-04-25 17:37:53 UTC) #6
jar (doing other things)
On 2014/04/25 17:37:53, Johnny wrote: > > OK... good enough. Might be worth a comment... ...
6 years, 8 months ago (2014-04-26 20:30:31 UTC) #7
Johnny
> The Twitter reference suggests "... when the client is being rate limited.". I > ...
6 years, 7 months ago (2014-04-28 13:58:54 UTC) #8
Ryan Hamilton
On 2014/04/28 13:58:54, Johnny wrote: > Why don't we take this onto a thread? I'm ...
6 years, 7 months ago (2014-04-28 15:19:07 UTC) #9
jar (doing other things)
Per offline discussion.. LGTM I'm hopeful that we'll never use this oddly named value, and ...
6 years, 7 months ago (2014-04-28 19:07:56 UTC) #10
Johnny
6 years, 7 months ago (2014-04-28 19:16:30 UTC) #11
Thanks. Would you please also stamp https://codereview.chromium.org/246073007/,
which includes this CL?

Powered by Google App Engine
This is Rietveld 408576698