cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH] Call progress function when poll()/select() is interrupted

From: Daniel Stenberg <>
Date: Wed, 16 Apr 2008 09:02:19 +0200 (CEST)

On Wed, 16 Apr 2008, Yang Tse wrote:

> There has to be a _new_ user provided callback (abort check callback) which
> somehow will find out and tell to libcurl if libcurl should abort or not.
> typedef int (*curl_abortcheck_callback)(void);

If you really need this kind of check before every select()/poll() call, isn't
it just easier (and better) to just switch and use the multi interface ?

  Commercial curl and libcurl Technical Support:
Received on 2008-04-16