Skip to content
Snippets Groups Projects
  • Tatsuhiro Tsujikawa's avatar
    7d9bef92
    http2: Fix busy loop when EOF is encountered · 7d9bef92
    Tatsuhiro Tsujikawa authored
    Previously we did not handle EOF from underlying transport socket and
    wrongly just returned error code CURL_AGAIN from http2_recv, which
    caused busy loop since socket has been closed.  This patch adds the
    code to handle EOF situation and tells the upper layer that we got
    EOF.
    7d9bef92
    History
    http2: Fix busy loop when EOF is encountered
    Tatsuhiro Tsujikawa authored
    Previously we did not handle EOF from underlying transport socket and
    wrongly just returned error code CURL_AGAIN from http2_recv, which
    caused busy loop since socket has been closed.  This patch adds the
    code to handle EOF situation and tells the upper layer that we got
    EOF.