cURL / Mailing Lists / curl-library / Single Mail

curl-library

[Fwd: canceling a load in progress]

From: T. Bharath <TBharath_at_responsenetworks.com>
Date: Mon, 22 Oct 2001 05:55:41 -0400

attached mail follows:


one way would be to close the socket in use from another thread
But if not properly implemented can lead to crashes too since closing the
socket when a select call is in progress can lead to this

Regards
Bharath

Daniel Stenberg wrote:

> On Sun, 21 Oct 2001, Steve Dekorte wrote:
>
> > Is there a way to cancel a curl_easy_perform(h) in progress from another
> > thread? Something like a curl_easy_cancel(h)?
>
> No, unfortunately there is no such function today.
>
> I'd appreciate all efforts that would bring such a feature/function in a
> sufficiently platform independent way.
>
> --
> Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-22