cURL / Mailing Lists / curl-library / Single Mail


Re: curl_multi_socket + libev: monitoring data?

From: Daniel Stenberg <>
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.

List admin:
Received on 2012-06-12