DescriptionAllow 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 #
Messages
Total messages: 12 (8 generated)
|