From 65fda739ee35c090b2e6d91229287de734f0fbae Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 24 Aug 2019 10:45:18 +0200 Subject: http: the 'closed' struct field is used by both ngh2 and ngh3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and remove 'header_recvbuf', not used for anything Reported-by: Jeremy Lainé Closes #4257 --- lib/vquic/ngtcp2.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/vquic') 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: -- cgit v1.2.3