From: Daniel Stenberg Date: Mon, 7 Jun 2021 11:16:07 +0000 (+0200) Subject: c-hyper: support CURLINFO_STARTTRANSFER_TIME X-Git-Tag: curl-7_78_0~183 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32311d2d15a8aabe520a93fafa932268678742af;p=thirdparty%2Fcurl.git c-hyper: support CURLINFO_STARTTRANSFER_TIME Closes #7204 --- 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",