DescriptionMake HRH::IsKeepAlive() look past the first header
Up until now, HttpResponseHeaders::IsKeepAlive() only looked at the
first value of the Connection header. Since for a WebSocket response a
header like
Connection: Upgrade, close
is valid we should check other values past the first value.
BUG=371759
TEST=net_unittests
Committed: https://crrev.com/5db2f4ea9ac85ef4c8221c533e61b26b69c15ab7
Cr-Commit-Position: refs/heads/master@{#300087}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Add comments and Proxy-Connection tests. #
Messages
Total messages: 12 (3 generated)
|