HTTPS post hangs
Date: Fri, 25 Jan 2002 16:34:24 -0500
I am making a HTTPS POST like
curl -m 60 -N -b headers.txt -L -o output.html -D batchheader.txt -F
"action=change_batch" -F "batchFile=\@filetoupload.txt" -F
"answer=$secret" -F "realanswer=$secret" -F "batchmode=Submit job"
The Server accepts and processes the data(most of the time) but curl
'hangs' receiving the output, trying to debug it with -v gives
> POST /exec/Admin? HTTP/1.1
User-Agent: curl/7.9.3 (i686-pc-linux-gnu) libcurl 7.9.3 (OpenSSL
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Cookie: session=lotsof Secret Cookies
% Total % Received % Xferd Average Speed Time
Dload Upload Total Current Left
100 7903 0 5979 100 1924 97 31 0:01:01 0:01:01
* Closing connection #0
curl: (28) Operation timed out with 5979 out of -1 bytes received
the timeout -m 60 was set because it will hang forever(or a long time)
in this example the 5979 bytes it received is how many it is supposed to
'curl: (28) Operation timed out with 5979 out of -1 bytes received'
is it really looking for -1 bytes or is that just part of the timeout
is it possible the server is holding the connection open??
Received on 2002-01-25