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

Issue 2723203002: Do not enforce origin length and stream id requirement for ALTSVC frames. (Closed)

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

Description

Do not enforce origin length and stream id requirement for ALTSVC frames. Remove this check from Http2FrameDecoderAdapter, which is part of the new gfe/http2/ HTTP/2 frame decoder implementation. This makes sense, as SpdyFramer, the currently used HTTP/2 frame decoder, does not enforce this requirement either. Http2FrameDecoderAdapter incorrectly signals an error on invalid ALTSVC frames, whereas RFC7838 states that they MUST be ignored. This makes AltSvcFrameTest.DoNotProcessAltSvcFrameWithEmptyOriginOnStreamZero and AltSvcFrameTest.DoNotProcessAltSvcFrameWithNonEmptyOriginOnNonZeroStream fail with FLAGS_chromium_http2_flag_spdy_use_http2_frame_decoder_adapter set, effectively blocking the launch of that flag. This CL fixes that. This CL lands server change 148893483 by bnc. BUG=488484, 696653 Review-Url: https://codereview.chromium.org/2723203002 Cr-Commit-Position: refs/heads/master@{#454009} Committed: https://chromium.googlesource.com/chromium/src/+/62f6a594d8fd10ed15019c9c8e4369d8477355af

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M net/spdy/http2_frame_decoder_adapter.cc View 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Bence
Ryan: PTAL. Thank you.
3 years, 9 months ago (2017-03-01 19:09:10 UTC) #4
Ryan Hamilton
lgtm
3 years, 9 months ago (2017-03-01 19:36:08 UTC) #7
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/2723203002/1
3 years, 9 months ago (2017-03-01 19:59:52 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 20:13:45 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/62f6a594d8fd10ed15019c9c8e43...

Powered by Google App Engine
This is Rietveld 408576698