cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users list Archives

RE: "Expect: 100-continue " and a slow server

From: Young,Jim <Jim.Young_at_cerner.com>
Date: Tue, 30 Jul 2013 18:17:58 +0000

>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?

This really isn't an answer to your questions but ... have you considered upgrading to a newer version of curl? That version, which for some reason still comes as the default with Red Hat EL, is older than the hills. See if you can find a precompiled version of a newer release to install on your system and see if that fixes the problem. A lot has happened since that was released.
Jim Young

CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.

-------------------------------------------------------------------
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