• Tatsuhiro Tsujikawa's avatar
    Check request/response submission error based side of session · bb6f842b
    Tatsuhiro Tsujikawa authored
    Disallow request from server, and response from client respectively.
    When the violation is detected, return NGHTTP2_ERR_PROTO from
    nghttp2_submit_request, nghttp2_submit_response,
    nghttp2_submit_headers.
    
    We also did some refactoring, and now self-dependency detection is
    placed where it is only required.
    bb6f842b
nghttp2_submit.c 15.3 KB