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: Hint: curl timeout simulation

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 2 Sep 2021 09:58:35 +0200 (CEST)

On Wed, 1 Sep 2021, David Caul via curl-library wrote:

> 1. can we simulate the curl timeout in code.

Maybe just make a stub function that instead of calling libcurl returns
CURLE_OPERATION_TIMEDOUT ?

> 2. http and curl how they are interrelated

That's a very wide question. Can you be more specific? curl is a tool and
library for doing network transfers using different protocols. http is one of
the protocols curl supports and can use to perform said network transfers.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2021-09-02