cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: inactivity timeout on Win2k

From: <RBramante_at_on.com>
Date: Fri, 19 Dec 2003 11:02:07 -0500

Well before anyone else jumps all over this, so far my tests are showing
that it does not appear to be happening in 7.10.8.

We had standardized on some very slightly modified 7.9.8 code and that
version is where I am seeing these issues. Further testing with 7.9.8
shows that every once in awhile easy_perform will return almost as soon as
the cable is unplugged with an error 18 PARTIAL_FILE as well.

It might be time to just bite the bullet and upgrade to the latest release
across the board, unless this rings a bell with anyone on something easy
that could be retrofit into 7.9.8. Other than this 7.9.8 has been plugging
away just fine so we've just stayed at that version to avoid large bouts of
regression testing.....

                                                                           
             Daniel Stenberg
             <daniel-curl_at_haxx
             .se> To
             Sent by: libcurl Mailing list
             curl-library-admi <curl-library_at_lists.sourceforge.net
             n_at_lists.sourcefor >
             ge.net cc
                                                                           
                                                                   Subject
             12/19/2003 03:18 Re: inactivity timeout on Win2k
             AM
                                                                           
                                                                           
             Please respond to
             curl-library_at_list
             s.sourceforge.net
                                                                           
                                                                           

On Wed, 17 Dec 2003 RBramante_at_on.com wrote:

> Unfortunately, I do not seem to get callbacks at any regular interval.
In
> the archives it says they are made every second if there is no transfer
> activity. I am seeing a delay of over 4 minutes before I get my first
> progress callback after pulling the network cable.

The select() in lib/transfer.c features a one second time-out.

If it times out, or if there is data to read/write, it calls
Curl_readwrite().

In the end of the Curl_readwrite() function, it calls Curl_pgrsUpdate()
which
handles the progress meter/callback.

I can't see why you experience these times. :-(

--
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-19