aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c
index 4b67db4b9..7aa258d40 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -171,6 +171,10 @@ CURLcode Curl_http_setup_conn(struct connectdata *conn)
http->error_code = NGHTTP2_NO_ERROR;
http->closed = FALSE;
+ /* where to store incoming data for this stream and how big the buffer is */
+ http->mem = conn->data->state.buffer;
+ http->len = BUFSIZE;
+
return CURLE_OK;
}