From 7bbac214f5be8ab87114a0e00db2ebd390e1c64b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 29 Apr 2015 17:00:53 +0200 Subject: http2: move the mem+len pair to the stream struct --- lib/http.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/http.c') 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; } -- cgit v1.2.3