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: Strange connection persistence problem

From: Daniel Stenberg via curl-library <>
Date: Thu, 30 Nov 2023 23:10:17 +0100 (CET)

On Thu, 30 Nov 2023, wrote:

> I do not understand how I pass _URL to setopt() who does its strdup thing
> and then later on this strduped memory area is separated into a correct HOST
> and not correct GET location.

No one understands that. Because that's not how it should work and that is not
how it has behaved for countless previous transfers.

> Any more ideas?

Words and explanations are good but they basically cannot replace an actual
reproducible appliction source code. And only you know how your application
works to a detail sufficient to be able to write such a reproducible. After
all, we have not confirmed that problem you see actually is in libcurl.

It also always makes sense to build and test with the latest libcurl before
spending too much time on debugging, just to make sure that this is not a
problem that is already gone there. The official count says we fixed 1369 bugs
between 7.85.0 and 8.4.0!

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2023-11-30