mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:13:33 +03:00
http2: force "drainage" of streams
... which is necessary since the socket won't be readable but there is data waiting in the buffer.
This commit is contained in:
parent
7bbac214f5
commit
01e1bdb10c
7 changed files with 123 additions and 57 deletions
|
|
@ -174,6 +174,7 @@ CURLcode Curl_http_setup_conn(struct connectdata *conn)
|
|||
/* where to store incoming data for this stream and how big the buffer is */
|
||||
http->mem = conn->data->state.buffer;
|
||||
http->len = BUFSIZE;
|
||||
http->memlen = 0;
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue