transfer: don't set TIMER_STARTTRANSFER on first send

The time stamp is for measuring the first *received* byte

Fixes #11669
Reported-by: JazJas on github
Closes #11670
This commit is contained in:
Daniel Stenberg 2023-08-14 08:38:50 +02:00
parent 23c3dc20c1
commit ab3b2c47bd
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -824,9 +824,6 @@ static CURLcode readwrite_upload(struct Curl_easy *data,
bool sending_http_headers = FALSE;
struct SingleRequest *k = &data->req;
if((k->bytecount == 0) && (k->writebytecount == 0))
Curl_pgrsTime(data, TIMER_STARTTRANSFER);
*didwhat |= KEEP_SEND;
do {