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

Issue 2555563003: Ignore 1xx informational headers. (Closed)

Created:
4 years ago by Bence
Modified:
4 years ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore 1xx informational headers. Also correct response headers in a number of pre-existing unittests: status text is not allowed in HTTP/2. BUG=662197 Committed: https://crrev.com/c9f762a0a84c859d1e57352637d4a06e1b2b4081 Cr-Commit-Position: refs/heads/master@{#436701}

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -14 lines) Patch
M net/http/http_network_transaction_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 2 chunks +27 lines, -1 line 0 comments Download
M net/spdy/spdy_stream.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/spdy_stream.cc View 3 chunks +24 lines, -6 lines 5 comments Download
M net/spdy/spdy_stream_unittest.cc View 1 chunk +101 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Bence
Ryan: PTAL. Thank you.
4 years ago (2016-12-06 13:12:00 UTC) #7
Ryan Hamilton
lgtm https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc#newcode394 net/spdy/spdy_stream.cc:394: const std::string error("Cannot parse :status."); I wonder if ...
4 years ago (2016-12-06 20:02:18 UTC) #8
Bence
Thank you. https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc#newcode394 net/spdy/spdy_stream.cc:394: const std::string error("Cannot parse :status."); On 2016/12/06 ...
4 years ago (2016-12-06 20:10:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2555563003/1
4 years ago (2016-12-06 20:10:31 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-06 20:38:57 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c9f762a0a84c859d1e57352637d4a06e1b2b4081 Cr-Commit-Position: refs/heads/master@{#436701}
4 years ago (2016-12-06 20:40:35 UTC) #16
Ryan Hamilton
https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc#newcode394 net/spdy/spdy_stream.cc:394: const std::string error("Cannot parse :status."); On 2016/12/06 20:10:13, Bence ...
4 years ago (2016-12-06 23:48:14 UTC) #17
Bence
https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc File net/spdy/spdy_stream.cc (right): https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc#newcode394 net/spdy/spdy_stream.cc:394: const std::string error("Cannot parse :status."); On 2016/12/06 23:48:14, Ryan ...
4 years ago (2016-12-07 00:22:12 UTC) #18
Bence
4 years ago (2016-12-07 00:22:13 UTC) #19
Ryan Hamilton
On 2016/12/07 00:22:12, Bence wrote: > https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc > File net/spdy/spdy_stream.cc (right): > > https://codereview.chromium.org/2555563003/diff/1/net/spdy/spdy_stream.cc#newcode394 > ...
4 years ago (2016-12-07 01:26:09 UTC) #20
Bence
4 years ago (2016-12-07 15:51:06 UTC) #21
Message was sent while issue was closed.
On 2016/12/07 01:26:09, Ryan Hamilton wrote:
> 
> For next time, when we make changes which might cause breakage, we should
> probably mention that in the CL description. The current description suggests
> that nothing should change in the case of non-1xx responses. But that ship has
> sailed.
> 
> I'm happy to adhere to the spec, but we should probably make sure we
understand
> how often this is happening so that if it's common we can figure out what to
do
> next. Perhaps land a follow up to add a histogram when the :status header is
not
> parsable as an int?

I am sorry for missing this.  Follow-up at https://crrev.com/2555183002.

Powered by Google App Engine
This is Rietveld 408576698