diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-04-29 17:00:53 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 08:57:17 +0200 |
commit | 7bbac214f5be8ab87114a0e00db2ebd390e1c64b (patch) | |
tree | 171eba44aa9fd3d3ca5e09057c60392890fa927c /lib/http.c | |
parent | 84c6b6561f8a537f43b0647e4dbd7f2b258e2174 (diff) |
http2: move the mem+len pair to the stream struct
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
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; } |