diff --git a/lib/transfer.c b/lib/transfer.c index 5c96aed7d6..e40c6adcd2 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -490,6 +490,7 @@ CURLcode Curl_pretransfer(struct Curl_easy *data) data->state.requests = 0; data->state.followlocation = 0; /* reset the location-follow counter */ data->state.this_is_a_follow = FALSE; /* reset this */ + data->state.http_ignorecustom = FALSE; /* use custom HTTP method */ data->state.errorbuf = FALSE; /* no error has occurred */ #ifndef CURL_DISABLE_HTTP Curl_http_neg_init(data, &data->state.http_neg);