curl-library
Re: re-using connection with authentication
Date: Wed, 28 Mar 2007 11:23:39 +0200
Daniel Stenberg wrote:
> On Tue, 27 Mar 2007, Sigrid Thijs wrote:
>
>
> First, this is not a changed behaviour.
>
> Then, it *is* supported. It's just that the authentication "negotiation"
> is done a second time for the second handle.
>
> And third, if you really want this to be supported then please help us
> and tell us how it should work.
>
The problem is the following:
When a second request is sent to a server (using a different easy
handle), the authorization header is added but the body is not included.
We would expect the following:
- when a second request is sent to a server, and the authorization
header is added, the body should be included in the request
OR
- when a second request is sent to a server, no authorization header is
added and the body should not be included
To us it seems like a bug in libcurl, because somewhere the
authentication information is available, and is added to the
authorization header of the request. But at another place this
authentication information is not available thus no body is added.
kind regards,
Sigrid
Received on 2007-03-28