mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
http2: move the mem+len pair to the stream struct
This commit is contained in:
parent
84c6b6561f
commit
7bbac214f5
5 changed files with 44 additions and 23 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue