Set max_inbound_header_list_size in QuicChromiumClientSession.
Call max_inbound_header_list_size() instead of set_max_uncompressed_header_bytes() in QuicChromiumClientSession::Initialize(), and do so before calling QuicSpdyClientSessionBase::Initialize(). This sets the base class QuicSpdySession's max_uncompressed_header_bytes_ member, which then gets passed to set_max_uncompressed_header_bytes() in QuicSpdySession::Initialize(), making sure that SpdyFramerVisitor still gets the new limit. However, this also makes sure that the limit passed to QpackDecodedHeadersAccumulator constructor in QuicSpdySession::OnHeadersFrameStart() reflects the limit. Also update QuicTestPacketMaker to use the Chromium-specific limit, which is different from the one defined in QUICHE. Change-Id: Id36e7e4998dbf69a07ae390a9bf5d93a88079a11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693401 Commit-Queue: Ryan Hamilton <rch@chromium.org> Reviewed-by:Ryan Hamilton <rch@chromium.org> Cr-Commit-Position: refs/heads/master@{#678037}
Showing
Please register or sign in to comment