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

Issue 14348012: [SPDY] Close SPDY sessions on session flow control errors (Closed)

Created:
7 years, 8 months ago by akalin
Modified:
7 years, 8 months ago
CC:
chromium-reviews, MAD, jar (doing other things), cbentzel+watch_chromium.org, eroman, Ilya Sherman, mmenke
Visibility:
Public.

Description

[SPDY] Close SPDY sessions on session flow control errors But just emit something to NetLog for errors in a SETTINGS frame. Treat the receive window going negative as a valid error for SpdyStream. Remove net:: prefix from spdy_{session,stream}.*. Update some enums in histograms.xml. BUG=176592 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195309

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments, fix bug #

Total comments: 4

Patch Set 3 : Address comments #

Total comments: 3

Patch Set 4 : Address comments #

Patch Set 5 : Remove TODOs #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -73 lines) Patch
M net/base/net_error_list.h View 1 chunk +1 line, -1 line 0 comments Download
M net/base/net_log_event_type_list.h View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 7 chunks +13 lines, -9 lines 2 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 25 chunks +55 lines, -50 lines 2 comments Download
M net/spdy/spdy_stream.cc View 6 chunks +10 lines, -9 lines 1 comment Download
M tools/metrics/histograms/histograms.xml View 1 2 3 5 chunks +64 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
akalin
+rch for review
7 years, 8 months ago (2013-04-19 03:05:19 UTC) #1
Ryan Hamilton
lgtm https://codereview.chromium.org/14348012/diff/1/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/14348012/diff/1/net/spdy/spdy_session.cc#newcode2305 net/spdy/spdy_session.cc:2305: // TODO(akalin): Also send a GOAWAY frame. perhaps ...
7 years, 8 months ago (2013-04-19 03:59:19 UTC) #2
akalin
https://codereview.chromium.org/14348012/diff/1/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/14348012/diff/1/net/spdy/spdy_session.cc#newcode2305 net/spdy/spdy_session.cc:2305: // TODO(akalin): Also send a GOAWAY frame. On 2013/04/19 ...
7 years, 8 months ago (2013-04-19 05:55:14 UTC) #3
akalin
+jar for histograms
7 years, 8 months ago (2013-04-19 05:57:21 UTC) #4
jar (doing other things)
https://codereview.chromium.org/14348012/diff/5001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/14348012/diff/5001/tools/metrics/histograms/histograms.xml#newcode5074 tools/metrics/histograms/histograms.xml:5074: <!-- SpdyFramer::SpdyErrors --> nit: I *think* these comments will ...
7 years, 8 months ago (2013-04-19 06:16:10 UTC) #5
akalin
PTAL https://codereview.chromium.org/14348012/diff/5001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/14348012/diff/5001/tools/metrics/histograms/histograms.xml#newcode5074 tools/metrics/histograms/histograms.xml:5074: <!-- SpdyFramer::SpdyErrors --> On 2013/04/19 06:16:11, jar wrote: ...
7 years, 8 months ago (2013-04-19 08:46:23 UTC) #6
akalin
ping! On 2013/04/19 08:46:23, akalin wrote: > PTAL > > https://codereview.chromium.org/14348012/diff/5001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): ...
7 years, 8 months ago (2013-04-19 20:42:51 UTC) #7
jar (doing other things)
See nit below.... then LGTM https://codereview.chromium.org/14348012/diff/6007/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/14348012/diff/6007/tools/metrics/histograms/histograms.xml#newcode1962 tools/metrics/histograms/histograms.xml:1962: SpdySessionErrorDetails2 on 2013-04-19. If ...
7 years, 8 months ago (2013-04-19 21:26:19 UTC) #8
akalin
https://codereview.chromium.org/14348012/diff/6007/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/14348012/diff/6007/tools/metrics/histograms/histograms.xml#newcode1962 tools/metrics/histograms/histograms.xml:1962: SpdySessionErrorDetails2 on 2013-04-19. On 2013/04/19 21:26:19, jar wrote: > ...
7 years, 8 months ago (2013-04-19 21:34:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/14348012/15001
7 years, 8 months ago (2013-04-19 21:34:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/akalin@chromium.org/14348012/26001
7 years, 8 months ago (2013-04-19 22:16:37 UTC) #11
akalin
Per conversation with rch@, removing TODOs re. sending a GOAWAY frame, as it's not really ...
7 years, 8 months ago (2013-04-19 22:16:52 UTC) #12
akalin
Committed patchset #5 manually as r195309 (presubmit successful).
7 years, 8 months ago (2013-04-19 22:18:31 UTC) #13
jar (doing other things)
7 years, 8 months ago (2013-04-19 23:12:37 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/14348012/diff/6007/tools/metrics/histograms/h...
File tools/metrics/histograms/histograms.xml (right):

https://codereview.chromium.org/14348012/diff/6007/tools/metrics/histograms/h...
tools/metrics/histograms/histograms.xml:5102: the values below for Chrome builds
after that revision. -->
<ugh>  No one will notice the comment when looking at the bogus data.

Perhaps you should edit the labels below.  Maybe add the word "conflated" to
each label <sigh>.  

Maybe you should add a "warning" to the histograms that use this enum. That
might be easier!  Up front, in all caps, in addition to <obsolete>ing them.

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_session.cc
File net/spdy/spdy_session.cc (right):

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_session.cc#...
net/spdy/spdy_session.cc:2258: base::IntToString(delta_window_size) +
nit: Probably indent this 4 more than the arguments above, to show it is a line
wrap of a single arg.

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_session.cc#...
net/spdy/spdy_session.cc:2340: " in DecreaseRecvWindowSize, which is larger than
the receive " +
nit: indent 4 more?

same on line 1859

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_session.h
File net/spdy/spdy_session.h (right):

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_session.h#n...
net/spdy/spdy_session.h:64: // in histograms.xml.
Please add warning: DO NOT INSERT ENUMS INTO THIS LIST! Add only to the end.

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_session.h#n...
net/spdy/spdy_session.h:92: // SpdySession errors
nit: I'd put this at the end of line 93, to discourage folks from inserting more
enums on blank lines above (delete the blank line spacing).

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_stream.cc
File net/spdy/spdy_stream.cc (right):

https://codereview.chromium.org/14348012/diff/26001/net/spdy/spdy_stream.cc#n...
net/spdy/spdy_stream.cc:382: " in DecreaseRecvWindowSize, which is larger than
the receive " +
nit: indent 4 more

Powered by Google App Engine
This is Rietveld 408576698