curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: can persistent auth be disabled?

From: Daniel Stenberg via curl-library <>
Date: Wed, 26 Feb 2020 22:58:41 +0100 (CET)

On Fri, 21 Feb 2020, Whitney Jackson via curl-library wrote:

> Is there a way to force persistent authentication to be off? To put it
> another way, if I add this line:
> neg_ctx->noauthpersist = true;

I find no such code path in the code and I know too little about Negotiate to
even understand what it means.

> I'm using the multi interface with CURLOPT_HTTPAUTH set to CURLAUTH_ANY. My
> program starts a bunch of requests all at once against a server that doesn't
> support persistent auth so it challenges each request SPNEGO style.
> Unfortunately curl seems to assume persistent auth.

This begs the question: how is curl supposed to figure this out rather than to

  / | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
Received on 2020-02-26