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

Issue 640213002: Make HRH::IsKeepAlive() look past the first header (Closed)

Created:
6 years, 2 months ago by Adam Rice
Modified:
6 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -15 lines) Patch
M net/http/http_response_headers.cc View 1 1 chunk +27 lines, -15 lines 0 comments Download
M net/http/http_response_headers_unittest.cc View 1 3 chunks +85 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Adam Rice
6 years, 2 months ago (2014-10-09 10:56:58 UTC) #2
rvargas (doing something else)
lgtm after nits. https://codereview.chromium.org/640213002/diff/1/net/http/http_response_headers.cc File net/http/http_response_headers.cc (right): https://codereview.chromium.org/640213002/diff/1/net/http/http_response_headers.cc#newcode1187 net/http/http_response_headers.cc:1187: for (const char* header : kConnectionHeaders) ...
6 years, 2 months ago (2014-10-15 22:55:22 UTC) #3
Adam Rice
I re-read RFC 7230 section 6.1 http://tools.ietf.org/html/rfc7230#section-6.1 and thought about it a bit more and ...
6 years, 2 months ago (2014-10-16 11:29:39 UTC) #4
rvargas (doing something else)
On 2014/10/16 11:29:39, Adam Rice wrote: > I re-read RFC 7230 section 6.1 http://tools.ietf.org/html/rfc7230#section-6.1 > ...
6 years, 2 months ago (2014-10-16 18:11:13 UTC) #6
mmenke
On 2014/10/16 18:11:13, rvargas wrote: > On 2014/10/16 11:29:39, Adam Rice wrote: > > I ...
6 years, 2 months ago (2014-10-16 19:29:39 UTC) #7
Adam Rice
On 2014/10/16 19:29:39, mmenke wrote: > On 2014/10/16 18:11:13, rvargas wrote: > > I spent ...
6 years, 2 months ago (2014-10-17 09:55:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/640213002/20001
6 years, 2 months ago (2014-10-17 09:56:23 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-17 10:49:28 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 10:50:19 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5db2f4ea9ac85ef4c8221c533e61b26b69c15ab7
Cr-Commit-Position: refs/heads/master@{#300087}

Powered by Google App Engine
This is Rietveld 408576698