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

Issue 14707005: SPDY - In CreateStream close the SpdySession if socket is not connected. (Closed)

Created:
7 years, 7 months ago by ramant (doing other things)
Modified:
6 years, 11 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

SPDY - In CreateStream close the SpdySession if socket is not connected. Added DCHECK for socket being connected. Added Net.SpdySession.CreateStreamWithSocketConnected histogram to track the socket not connected case. Modified CloseIdleSessions tests to initialize SpdySessionWithScoket. BUG=232894 R=rch@chromium.org TEST=net unit tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197722

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -14 lines) Patch
M net/spdy/spdy_session.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 1 6 chunks +51 lines, -7 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 6 chunks +51 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Ryan Hamilton
https://codereview.chromium.org/14707005/diff/1/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/14707005/diff/1/net/spdy/spdy_session.cc#newcode555 net/spdy/spdy_session.cc:555: true); nit: UMA_HISTOGRAM_BOOLEAN("Net.SpdySession.CreateStreamWithSocketConnected", connection_->socket()->IsConnected()); or some such
7 years, 7 months ago (2013-05-01 03:30:19 UTC) #1
ramant (doing other things)
Thanks much Ryan for taking a look at this change. Updated the CloseIdleSessions tests to ...
7 years, 7 months ago (2013-05-01 04:54:01 UTC) #2
Ryan Hamilton
https://codereview.chromium.org/14707005/diff/15001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/14707005/diff/15001/net/spdy/spdy_session.cc#newcode554 net/spdy/spdy_session.cc:554: UMA_HISTOGRAM_BOOLEAN("Net.SpdySession.CreateStreamWithSocketConnected", I think I meant this: if (connection_->socket()) { ...
7 years, 7 months ago (2013-05-01 15:29:21 UTC) #3
ramant (doing other things)
PTAL. https://codereview.chromium.org/14707005/diff/15001/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): https://codereview.chromium.org/14707005/diff/15001/net/spdy/spdy_session.cc#newcode554 net/spdy/spdy_session.cc:554: UMA_HISTOGRAM_BOOLEAN("Net.SpdySession.CreateStreamWithSocketConnected", On 2013/05/01 15:29:21, Ryan Hamilton wrote: > ...
7 years, 7 months ago (2013-05-01 17:53:15 UTC) #4
Ryan Hamilton
lgtm
7 years, 7 months ago (2013-05-01 17:58:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/14707005/28001
7 years, 7 months ago (2013-05-01 17:58:26 UTC) #6
commit-bot: I haz the power
7 years, 7 months ago (2013-05-01 21:30:21 UTC) #7
Message was sent while issue was closed.
Change committed as 197722

Powered by Google App Engine
This is Rietveld 408576698