From 9c845be2797e2047547ec247cb037471aeb48bb0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 1 Jun 2020 22:58:46 +0200 Subject: urldata: let the HTTP method be in the set.* struct When the method is updated inside libcurl we must still not change the method as set by the user as then repeated transfers with that same handle might not execute the same operation anymore! This fixes the libcurl part of #5462 Test 1633 added to verify. Closes #5499 --- lib/vquic/quiche.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vquic/quiche.c') diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index 83815e037..f93e95ee1 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -734,7 +734,7 @@ static CURLcode http_request(struct connectdata *conn, const void *mem, } } - switch(data->set.httpreq) { + switch(data->state.httpreq) { case HTTPREQ_POST: case HTTPREQ_POST_FORM: case HTTPREQ_POST_MIME: -- cgit v1.2.3