cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: write timeouts

From: Pete Su <psu_13_at_yahoo.com>
Date: Thu, 14 Feb 2002 13:40:08 -0800 (PST)

related thought.

i'm using curl 7.8 or thereabouts. does this version of libcurl even use
nonblocking sockets? it looks like it sets things up to be non-blocking under
windows, but i see no similar calls for the unix side.

Pete

--- Pete Su <psu_13_at_yahoo.com> wrote:
> say i'm running an http transfer (PUT or POST) and i pull the network wire in
> the middle.
>
> what's the easiest way to set curl up to eventually throw a timeout on a
> write()? i dont' want to set the whole transfer timeout, because transfers
> might be large and take a long time. i'd like a clock to start on each
> write()
> and timeout in a minute or a couple or minutes.
>
> i'm using a slightly older version of the library (no threads). i'd be
> willing
> to patch the source if i need to.
>
> thanks
> Pete
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
>
>

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
Received on 2002-02-14