Skip to content
Snippets Groups Projects
Commit 40c27e29 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Curl_pgrsStartNow: keep HEADERS_OUT set

To avoid that the progress meter headers get output between each
transfer, make sure the bits gets kept when (re-)inited.

Reported by: Christopher Stone
parent fa775b56
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,8 @@ void Curl_pgrsStartNow(struct SessionHandle *data)
{
data->progress.speeder_c = 0; /* reset the progress meter display */
data->progress.start = Curl_tvnow();
data->progress.flags &= PGRS_HIDE; /* clear all bits except HIDE */
/* clear all bits except HIDE and HEADERS_OUT */
data->progress.flags &= PGRS_HIDE|PGRS_HEADERS_OUT;
}
void Curl_pgrsSetDownloadCounter(struct SessionHandle *data, curl_off_t size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment