1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

http2: use the correct set buffer size

This commit is contained in:
Daniel Stenberg 2017-04-25 00:49:23 +02:00
parent 87eb8d5b30
commit 504eafff86

View File

@ -165,7 +165,7 @@ void Curl_http2_setup_req(struct Curl_easy *data)
http->closed = FALSE;
http->close_handled = FALSE;
http->mem = data->state.buffer;
http->len = BUFSIZE;
http->len = data->set.buffer_size;
http->memlen = 0;
}