cURL / Mailing Lists / curl-library / Single Mail

curl-library

embedded linux libcurl upload data inactivity timeout not working

From: John Coffey <johnco3_at_gmail.com>
Date: Sat, 6 Dec 2014 18:33:47 -0500

Hello Daniel,

I sent a question to the forum the other day, but in retrospect, perhaps I
did not give sufficient background for others to answer the question,
anyways, I re-asked the question with a bit more context on StackOverflow
in the hopes that perhaps someone else may have encountered this problem -
fixing it is critical for us to deploy the application. I was going
through the code in the lib-curl timers area yesterday and my gut feel is
that there is some problem with the timer queues.

Firstly, I was wondering if you are aware of some issue like the one I
described - it appears to be Linux specific, however I am not sure if it is
specific to Linux on the PowerPC platform or of it is a general linux
libCurl issue. Alternatively, do you know of a good place where I could
add some debug printout code to show where the specific timer expires in
the code so that I might catch the root cause of the 60 second timer
expiration which causes the ftp connection to terminate during an extended
period of inactivity over the data connection during an upload. I tried
many work arounds, including keep alive timers (which I can see are active
during the period of inactivity). I also tried changing various TCP
options via sysctl options - but so far none of these attempts at working
around the problem have proven fruitful.

Here is a link to the reposed question on StackOverflow

http://stackoverflow.com/questions/27337649/libcurl-upload-data-inactivity-timeout-not-working

All the best and thanks for libCurl

John Coffey

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-07