cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_socket + libev: monitoring data?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Jun 2012 22:24:06 +0200 (CEST)

On Tue, 12 Jun 2012, Felix E. Klee wrote:

> Or to rephrase my question: When I do something blocking, will "the OS"
> continue fetching data, for example into some buffer, which is then emptied
> when calling `curl_multi_socket_action()`?

Generally, your machine will still receive data in the kernel even though you
do a blocking all in user-space, at least to some extent - yes. But if you
don't drain that data within shortly it will of course stop receiving more.

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