Without this, any usage of sendbuf_hds_len on a retried request is
wrong. We noticed by getting debug callbacks with incorrect header len.
We did not figure out how to trigger the retries in a test environment
though.
Closes #16573
req->deductheadercount = 0;
req->httpversion_sent = 0;
req->httpversion = 0;
+ req->sendbuf_hds_len = 0;
+
result = Curl_client_start(data);
if(result)
return result;
req->httpcode = 0;
req->keepon = 0;
req->upgr101 = UPGR101_INIT;
+ req->sendbuf_hds_len = 0;
req->timeofdoc = 0;
req->location = NULL;
req->newurl = NULL;