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.


From: Daniel Stenberg via curl-library <>
Date: Thu, 5 Mar 2020 16:28:40 +0100 (CET)

On Wed, 4 Mar 2020, Jason Proctor via curl-library wrote:

> The issue is that if you specify CURLOPT_POST but don't specify
> CURLOPT_POSTFIELDS, then the library sticks in sending mode and
> doesn't call the header or write callbacks, despite the fact that the
> server has happily sent a response. Setting CURLOPT_POSTFIELDS to the
> empty string results in the correct behaviour.

That's not expected behavior nor does it match what existing libcurl tests
verify that works. For example in test 1514:

Can you provide a test code that reproduces this?

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