curl / Mailing Lists / curl-library / Single Mail


Re: Bug in curl_easy_reset: Re-using the handle fails with HTTP 401

From: Daniel Stenberg <>
Date: Tue, 23 Jan 2018 00:15:35 +0100 (CET)

On Wed, 17 Jan 2018, Ruurd Beerstra via curl-library wrote:

> When the code is executed to establish a session to host 1, do a
> curl_easy_reset, then contact host 2 (re-using the handle), the result is a
> HTTP 401 (unauthorized) for the connection to host 2.

Hi again!

Was the test program supposed to work as-is or how should I modify it to make
it reproduce? Or can you perhaps also show us the full set of headers curl
sends and receives in these requests? There's right now not enough details for
me to go on...

Received on 2018-01-23