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

Issue 10829066: Fix a SPDY crash bug where a CHECK() is hit because a cancelled stream is considered active by the … (Closed)

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

Description

Fix a SPDY crash bug where a CHECK() is hit because a cancelled stream is considered active by the spdy session. BUG=139375 TEST=SpdySessionSpdy2Test.CancelStream Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148865

Patch Set 1 #

Patch Set 2 : Add SPDY/3 test. #

Total comments: 6

Patch Set 3 : Fix comments. #

Patch Set 4 : only call CloseCreatedStream when stream_id == 0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -0 lines) Patch
M net/spdy/spdy_session_spdy2_unittest.cc View 1 2 1 chunk +106 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 1 chunk +106 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ryan Hamilton
8 years, 4 months ago (2012-07-27 21:25:36 UTC) #1
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10829066/diff/2001/net/spdy/spdy_session.h File net/spdy/spdy_session.h (right): https://chromiumcodereview.appspot.com/10829066/diff/2001/net/spdy/spdy_session.h#newcode227 net/spdy/spdy_session.h:227: // Delete a stream that has been created, but ...
8 years, 4 months ago (2012-07-27 21:41:42 UTC) #2
ramant (doing other things)
lgtm https://chromiumcodereview.appspot.com/10829066/diff/2001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://chromiumcodereview.appspot.com/10829066/diff/2001/net/spdy/spdy_session.cc#newcode744 net/spdy/spdy_session.cc:744: } nit: consider calling DeleteCreatedStream. It is your ...
8 years, 4 months ago (2012-07-27 21:43:58 UTC) #3
Ryan Hamilton
Thanks for the quick review! https://chromiumcodereview.appspot.com/10829066/diff/2001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://chromiumcodereview.appspot.com/10829066/diff/2001/net/spdy/spdy_session.cc#newcode744 net/spdy/spdy_session.cc:744: } On 2012/07/27 21:43:58, ...
8 years, 4 months ago (2012-07-27 21:51:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10829066/7002
8 years, 4 months ago (2012-07-27 21:51:55 UTC) #5
commit-bot: I haz the power
Try job failure for 10829066-7002 (retry) (retry) (retry) on linux_rel for steps "nacl_integration, net_unittests". It's ...
8 years, 4 months ago (2012-07-27 23:16:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10829066/14001
8 years, 4 months ago (2012-07-27 23:26:03 UTC) #7
commit-bot: I haz the power
8 years, 4 months ago (2012-07-28 02:13:21 UTC) #8
Change committed as 148865

Powered by Google App Engine
This is Rietveld 408576698