cURL / Mailing Lists / curl-library / Single Mail


Re: Timeout for Expect: 100 Continue

From: Daniel Stenberg <>
Date: Tue, 19 Jan 2010 11:23:40 +0100 (CET)

On Tue, 19 Jan 2010, Neeraj Malhotra wrote:

> What is the default timeout for receiving a response to Expect: 100-Continue
> request?

1000 milliseconds.

> Can it be changed?

No. But if you'd come up with a legitimate use-case showing us why that is a
good idea maybe we could consider it.

> Also when was this change introduced in libcurl

Which change?

> (I am using curl-7.15.1-19.16.13)?

That's one crazy version number. The libcurl version we released was only
called 7.15.1 though, the rest must be your distro or something that adds.

7.15.1 was released for more than 4 years ago and we've fixed (literally) over
a thousand bugs since then.

> We are facing a problem where the requests are routed via proxy server which
> does not forward the response of 100-continue to the origin server. What we
> have observed is that the origin server keeps waiting indefinitely for the
> response.

That sounds like a bug.

> Right now, I have worked it around by removing the "Expect:" header from the
> request which solves the problem. But I was wondering if there is a better
> way of doing this?

I don't think this is a problem that exists in more modern versions of

List admin:
Received on 2010-01-19