Chromium Code Reviews
DescriptionDo 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 #
Messages
Total messages: 12 (8 generated)
|
|||||||||||||||||||