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

Issue 274813002: HttpServer: Handling of multiple header fields with the same name and multiple values of "Connectio… (Closed)

Created:
6 years, 7 months ago by vkuzkokov
Modified:
6 years, 7 months ago
Reviewers:
pfeldman, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

HttpServer: Handling of multiple header fields with the same name and multiple values of "Connection". BUG=370437 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269619

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved header value splitting to HttpServerRequestInfo::HasHeaderValue #

Total comments: 2

Patch Set 3 : HasHeaderValue always worked as if header_value=="upgrade" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -7 lines) Patch
M net/server/http_server.cc View 1 5 chunks +14 lines, -7 lines 0 comments Download
M net/server/http_server_request_info.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M net/server/http_server_request_info.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M net/server/http_server_unittest.cc View 1 2 3 chunks +94 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
pfeldman
https://codereview.chromium.org/274813002/diff/1/net/server/http_server.cc File net/server/http_server.cc (right): https://codereview.chromium.org/274813002/diff/1/net/server/http_server.cc#newcode146 net/server/http_server.cc:146: { There is no need for this. https://codereview.chromium.org/274813002/diff/1/net/server/http_server.cc#newcode147 net/server/http_server.cc:147: ...
6 years, 7 months ago (2014-05-08 13:38:18 UTC) #1
pfeldman
https://codereview.chromium.org/274813002/diff/20001/net/server/http_server_request_info.cc File net/server/http_server_request_info.cc (right): https://codereview.chromium.org/274813002/diff/20001/net/server/http_server_request_info.cc#newcode36 net/server/http_server_request_info.cc:36: if (*it == "upgrade") This should be header_value. Your ...
6 years, 7 months ago (2014-05-08 15:19:16 UTC) #2
pfeldman
lgtm. +mmenke for OWNERS review.
6 years, 7 months ago (2014-05-08 20:10:41 UTC) #3
mmenke
On 2014/05/08 20:10:41, pfeldman wrote: > lgtm. > > +mmenke for OWNERS review. Rubberstamp LGTM, ...
6 years, 7 months ago (2014-05-09 15:31:43 UTC) #4
pfeldman
> Rubberstamp LGTM, but we really should not spend any more time maintaining this > ...
6 years, 7 months ago (2014-05-09 17:52:53 UTC) #5
pfeldman
Or did you mean migrating from TCPListenSocket to TCPServerSocket? That one we definitely could do, ...
6 years, 7 months ago (2014-05-09 17:55:54 UTC) #6
pfeldman
The CQ bit was checked by pfeldman@chromium.org
6 years, 7 months ago (2014-05-09 17:56:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vkuzkokov@chromium.org/274813002/40001
6 years, 7 months ago (2014-05-09 18:00:26 UTC) #8
mmenke
On 2014/05/09 17:55:54, pfeldman wrote: > Or did you mean migrating from TCPListenSocket to TCPServerSocket? ...
6 years, 7 months ago (2014-05-09 18:02:35 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 19:20:36 UTC) #10
Message was sent while issue was closed.
Change committed as 269619

Powered by Google App Engine
This is Rietveld 408576698