Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: Fix busy loop when EOF is encountered
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.
- Loading branch information