• Tatsuhiro Tsujikawa's avatar
    Add nghttp2_adjust_priority_callback · 6d5f4023
    Tatsuhiro Tsujikawa authored
    Callback function invoked to adjust priority value for request
    HEADERS.
    
    Since the application doesn’t know stream ID when it submits
    requests, it may not be able to add correct priority value to HEADERS
    frame and forced to use follwing PRIORITY frame. The purpose of this
    callback is give the chance to the application to adjust priority
    value with the latest information it has just before transmission so
    that correct priority is included in HEADERS frame and it doesn’t
    have to send additional PRIORITY frame.
    6d5f4023
nghttp.cc 57.6 KB