diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-24 10:51:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-24 10:51:32 +0200 |
commit | de574dc4c18279e13471fcca032a2e902ec04eaf (patch) | |
tree | 719e60a5dc352cb7e7e0ffe687a031c7d6b9a1ea | |
parent | 310fa93f44bd17eb37838f02180585cae83c72be (diff) | |
download | curl-bagder/ngtcp2-without-h2.tar.gz |
fixup remove header_recvbuf, not used for anythingbagder/ngtcp2-without-h2
-rw-r--r-- | lib/vquic/ngtcp2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 008a75cfd..1cdbb7d39 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -1784,12 +1784,6 @@ static CURLcode http_request(struct connectdata *conn, const void *mem, } } - stream->header_recvbuf = Curl_add_buffer_init(); - if(!stream->header_recvbuf) { - result = CURLE_OUT_OF_MEMORY; - goto fail; - } - switch(data->set.httpreq) { case HTTPREQ_POST: case HTTPREQ_POST_FORM: |