diff --git a/lib/c-hyper.c b/lib/c-hyper.c index 73428c6414..117912815a 100644 --- a/lib/c-hyper.c +++ b/lib/c-hyper.c @@ -125,6 +125,10 @@ static int hyper_each_header(void *userdata, char *headp; CURLcode result; int writetype; + + if(!data->req.bytecount) + Curl_pgrsTime(data, TIMER_STARTTRANSFER); + Curl_dyn_reset(&data->state.headerb); if(name_len) { if(Curl_dyn_addf(&data->state.headerb, "%.*s: %.*s\r\n",