cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_socket + libev: monitoring data?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 10 Jun 2012 23:09:52 +0200 (CEST)

On Sun, 10 Jun 2012, Felix E. Klee wrote:

> * Is there any problem if program flow is paused right after calling
> "curl_multi_socket_action"?

Not that I can think of, no.

> * During connection to database (possibly slow), downloads will continue
> "in the background" under UNIX, right?

No, not unless you make them do so. libcurl's multi API is doing all the
concurrent transfers simultaneously in the *same* thread. If you do something
blocking you will block all the other transfers done in that thread.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-10