• Tatsuhiro Tsujikawa's avatar
    Refuse PUSH_PROMISE while unacked local ENABLE_PUSH is 0 · 505a300d
    Tatsuhiro Tsujikawa authored
    After we sent SETTINGS including ENABLE_PUSH = 0, peer may already
    issue PUSH_PROMISE before receiving our SETTINGS and react it to
    SETTINGS ACK.  Previously we accept this PUSH_PROMISE.  In this
    commit, we check the pending ENABLE_PUSH value and if it means
    disabling push, we refuse PUSH_PROMISE with RST_STREAM of error
    REFUSED_STREAM.
    505a300d
nghttp2_session_test.c 259 KB