cURL / Mailing Lists / curl-users / Single Mail

curl-users

Digest authentication

From: Tom Moers <tom.moers_at_gmail.com>
Date: Fri, 25 Mar 2005 18:34:04 +0100

Hi,

When doing a HTTP post with digest authentication
libcurl first sends an empty post. Then a 401 reponse
is received after which curl closes the connection.
Curl opens a new connection and sends a new post
this time with the content and credentials.

It seems that perhapsrewind() decides to close
the connection even if no bytes are sent in the
first empty post.

Is this intended behaviour?
Why doesn't curl reuse the HTTP connection?

Best regards,

Tom
Received on 2005-03-27