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: Mon, 20 Nov 2023 08:48:29 +0100 (CET)

On Mon, 20 Nov 2023, Yifei Kong via curl-library wrote:

> Thanks for all your suggestions. Another issue that bugs me is that it seems
> that this option does not work with HTTP. The documentation says it only
> works with FTP, IMAP, POP3, SMTP and SSH. Considering the wide usage of
> HTTP, can we expand the available protocols of it to more?

I don't see the point. We have several timeout options for HTTP already.

The CURLOPT_SERVER_RESPONSE_TIMEOUT is for protocols where curl waits for the
server's responses many times during a standard "conversation". HTTP is not
like that, as there is only one response.

For HTTP we already provide:


... or you can craft your own with CURLOPT_XFERINFOFUNCTION.

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