cURL / Mailing Lists / curl-library / Single Mail


RE: curl-library Digest, Vol 111, Issue 60

From: Anton Kabakov <>
Date: Thu, 20 Nov 2014 13:05:00 +0000

This will force me to store those requests on server causing a serious memory impact.

 Anton Kabakov


Message: 6
Date: Thu, 20 Nov 2014 10:20:05 +0100 (CET)
From: Daniel Stenberg <>
To: libcurl development <>
Subject: RE: curl-library Digest, Vol 111, Issue 50
Message-ID: <>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Thu, 20 Nov 2014, Anton Kabakov wrote:

> I want to map the servers by used authentication method, so when accessing
> such a server next time it will be possible to configure CURL with needed
> auth. method. Currently I have an issue with POST requests - as CURL do not
> know if authentication is needed and what method to use it sends the POST
> with a body, and when HTTP 401 arrives the POST body is getting lost.

It shouldn't get lost. It needs to get rewound and sent again though, so if
you provide the POST data with a callback you also need to set a callback that
allows libcurl to inform you about the need to rewind (CURLOPT_SEEKFUNCTION).

List admin:
Received on 2014-11-20