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

Issue 295823002: Ensure races between pending and new SPDY streams don't violate session concurrency. (Closed)

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

Description

Ensure races between pending and new SPDY streams don't violate session concurrency. Unstalled pending streams now check that a slot is still available, after posting. A unit-test is added to detect regressions. BUG=373858 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271534

Patch Set 1 #

Total comments: 2

Patch Set 2 : Switch to early return. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -3 lines) Patch
M net/spdy/spdy_session.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 chunks +9 lines, -3 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Johnny
6 years, 7 months ago (2014-05-19 22:51:26 UTC) #1
Ryan Hamilton
lgtm https://codereview.chromium.org/295823002/diff/1/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/295823002/diff/1/net/spdy/spdy_session.cc#newcode2868 net/spdy/spdy_session.cc:2868: if (rv == OK) { How 'bout early ...
6 years, 7 months ago (2014-05-19 23:00:07 UTC) #2
Johnny
https://codereview.chromium.org/295823002/diff/1/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/295823002/diff/1/net/spdy/spdy_session.cc#newcode2868 net/spdy/spdy_session.cc:2868: if (rv == OK) { On 2014/05/19 23:00:07, Ryan ...
6 years, 7 months ago (2014-05-19 23:37:32 UTC) #3
Johnny
The CQ bit was checked by jgraettinger@chromium.org
6 years, 7 months ago (2014-05-19 23:38:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jgraettinger@chromium.org/295823002/20001
6 years, 7 months ago (2014-05-19 23:40:04 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 02:02:08 UTC) #6
Message was sent while issue was closed.
Change committed as 271534

Powered by Google App Engine
This is Rietveld 408576698