• Bence Béky's avatar
    Set max_inbound_header_list_size in QuicChromiumClientSession. · 3a76c140
    Bence Béky authored
    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: default avatarRyan Hamilton <rch@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#678037}
    3a76c140
quic_test_packet_maker.cc 61.3 KB