DescriptionUse sockets with unread data if they've never been used before.
This fixes preconnects to SPDY-capable origins. StreamSocket's semantics
change slightly. WasEverUsed() for layered sockets is now whether the top-level
socket has read or written user data, rather than whether the underlying
transport socket was used.
Change SSL and SOCKS socket implementations to use the new WasEverUsed()
semantics. This doesn't affect SOCKS much except that preconnect misses now
time out more aggressively. For SSL, it fixes the SPDY issue.
Add tests for SSL socket and socket pool implementations.
BUG=334467
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259671
Patch Set 1 #Patch Set 2 : Rietveld, please behave. #
Total comments: 3
Patch Set 3 : Rebase #Patch Set 4 : Revise comment #Patch Set 5 : Tweak SpdySession::IsReused (erf, got mixed in with a rebase) #
Total comments: 30
Patch Set 6 : Rebase. #Patch Set 7 : wtc and mmenke comments #
Total comments: 8
Patch Set 8 : mmenke comments #
Messages
Total messages: 21 (0 generated)
|