summaryrefslogtreecommitdiff
path: root/lib/vquic
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-24 10:45:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-24 17:21:41 +0200
commit65fda739ee35c090b2e6d91229287de734f0fbae (patch)
tree719e60a5dc352cb7e7e0ffe687a031c7d6b9a1ea /lib/vquic
parent0a5d28fa2ec872de55c8d3f3b62675f17ca9cd45 (diff)
downloadcurl-65fda739ee35c090b2e6d91229287de734f0fbae.tar.gz
http: the 'closed' struct field is used by both ngh2 and ngh3
and remove 'header_recvbuf', not used for anything Reported-by: Jeremy Lainé Closes #4257
Diffstat (limited to 'lib/vquic')
-rw-r--r--lib/vquic/ngtcp2.c6
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: