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: Curl calls with respect to socket

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 15 Sep 2021 22:49:11 +0200 (CEST)

On Wed, 15 Sep 2021, David Caul wrote:

> Is it the case when we do curl_perform then that call is non blocking
> always, as of its internal socket concept ?

curl_easy_perform() works as documented: it is always blocking and it performs
a full transfer before it returns (unless it fails and returns early and with
an error code).

That's completely independent of how libcurl uses sockets internally.

-- 
  / 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-15