Chromium Code Reviews
DescriptionInclude destination port for websocket throttling.
Before this change, a pending connection to 127.0.0.1:80 would block a
connection to 127.0.0.1:81 from starting. With this change, they are considered
to be distinct for throttling purposes.
Added a unit test to verify that pending connections to distinct ports do not
block each other.
Took the opportunity to simplify WebSocketThrottle a bit, using the IPEndPoint
as the map key directly instead of creating a string to be the key.
Modified the WebSocketJobSpdy[23]Tests to use port 80 both for the blocking
connection and the connection being throttled. Previously the blocking
connection used port 0, which meant that this change caused the throttling tests
to fail.
TEST=net_unittests, chrome
BUG=172202
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181448
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix things caught by toyoshim. #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||