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

Issue 2756503002: Allow SpdySessionPool to find/create SpdySession with IP pooling disabled. (Closed)

Created:
3 years, 9 months ago by Bence
Modified:
3 years, 9 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow SpdySessionPool to find/create SpdySession with IP pooling disabled. This is in preparation to support HTTP response status 421 Misdirected Request, when the client may retry the request on a different connection, preferably on one with IP based pooling disabled. * Add |enable_ip_based_pooling| argument to SpdySessionPool::FindAvailableSession(). * Remove previously IP pooled session from SpdySessionPool::available_sessions_, SpdySessionPool::aliases_, and remove key from SpdySession::pooled_aliases, so that a new SpdySession can be created with the same key. * Add unittest; add test helper method. BUG=546991 Review-Url: https://codereview.chromium.org/2756503002 Cr-Commit-Position: refs/heads/master@{#457290} Committed: https://chromium.googlesource.com/chromium/src/+/9ead3ae7b5e197e2d1fdd6d78036f5aa072c0a74

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -34 lines) Patch
M net/http/http_proxy_client_socket_wrapper.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 4 chunks +9 lines, -5 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 6 chunks +18 lines, -6 lines 0 comments Download
M net/spdy/spdy_session.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_pool.h View 1 chunk +10 lines, -3 lines 0 comments Download
M net/spdy/spdy_session_pool.cc View 3 chunks +14 lines, -0 lines 0 comments Download
M net/spdy/spdy_session_pool_unittest.cc View 4 chunks +85 lines, -7 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_test_util_common.h View 1 chunk +7 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 5 chunks +25 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Bence
Ryan: PTAL. This might work just as fine as https://crrev.com/2749123002, but it's a ton simpler.
3 years, 9 months ago (2017-03-15 23:58:01 UTC) #6
Ryan Hamilton
lgtm Wow, that is much simpler. I love it! Great catch.
3 years, 9 months ago (2017-03-16 00:18:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2756503002/1
3 years, 9 months ago (2017-03-16 00:42:29 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 00:49:27 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9ead3ae7b5e197e2d1fdd6d78036...

Powered by Google App Engine
This is Rietveld 408576698