diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-04-30 08:20:49 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 08:57:17 +0200 |
commit | 01e1bdb10ce613d4a94fc618819156fc61d2f419 (patch) | |
tree | c62b9d5d854f89198b45d9a31125c7c24e62fb24 /lib/http.c | |
parent | 7bbac214f5be8ab87114a0e00db2ebd390e1c64b (diff) |
http2: force "drainage" of streams
... which is necessary since the socket won't be readable but there is
data waiting in the buffer.
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c index 7aa258d40..cf2ee1c37 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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; } |