• Tatsuhiro Tsujikawa's avatar
    nghttpx: Call upstream resume_read after sending pending request to backend · 5bff48a1
    Tatsuhiro Tsujikawa authored
    With the combination of HTTP/1 upstream and HTTP/2 downstream,
    downstream tells SHRPX_NO_BUFFER while connecting to the backend
    server.  Previously, we did not call upstream resume_read and upload
    was blocked.  This commit now calls upstream resume_read to unblock.
    This commit also remove pending output buffer size of Http2Session
    when calculating downstream connection's buffer is full.  This is
    desirable since we only operate resume_read by stream basis.
    5bff48a1
shrpx_http2_downstream_connection.cc 17.7 KB