cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users list Archives

"Expect: 100-continue " and a slow server

From: Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon_at_cern.ch>
Date: Tue, 30 Jul 2013 17:10:20 +0200

Hello all,

I have been hitting an issue recently due to a slow response from a server
to a PUT with a Expect: 100-continue header.

The server is taking longer than 1 second to answer, so curl starts sending
the file before it gets the redirection, so when it gets the redirection,
part of the file has been already read and the transfer will hang for a
while
(since curl can not read enough data because it probably didn't rewind
the file)
until the server just aborts the request.

I stumbled into this mail thread
http://curl.haxx.se/mail/archive-2008-07/0162.html

where the same issue is mentioned. The version I am using is curl 7.15.5
(which is older than the one discussed in that thread)

So, given it is a known issue, my questions are:

- Was this fixed at the end? In which version? I don't manage to find it
   in the changelog.

- Is there any way of telling curl to wait longer?

Thanks!

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-30

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET