• Tatsuhiro Tsujikawa's avatar
    Fix decoder table size update · deb390cf
    Tatsuhiro Tsujikawa authored
    When applying new header table size acknowledged with SETTINGS ACK by
    an encoder, change the header table size on a decoder only when it
    strictly lowers the current maximum table size set by Dynamic Table
    Size Update from the encoder or the default size 4096 if no Dynamic
    Table Size Update is received.
    
    Previously, the header table size on a decoder is always changed.  If
    a maximum size in SETTINGS are increased (e.g., 4096 -> 8192), and
    then decreased to the previous value, the decoder incorrectly requires
    Dynamic Table Size Update from an encoder.
    deb390cf
nghttp2_hd_test.c 48.4 KB