cURL / Mailing Lists / curl-library / Single Mail


Re: [PATCH/RFC] Adding Expect: 100-continue if post size is unknown

From: Martin Storsjö <>
Date: Mon, 7 Dec 2009 23:28:41 +0200 (EET)

On Mon, 7 Dec 2009, Daniel Stenberg wrote:

> On Tue, 1 Dec 2009, Martin Storsjö wrote:
> > That's what I expected. Would this be a better solution, by setting it to -1
> > if it's unknown? (This is completely untested, but it's easier to show what
> > I'm trying to say using a patch instead of trying to describe it verbally.)
> Yeah, that's in fact good enough and I've just verified this by running
> through all tests. I had to update two tests, but that was easy and I just now
> committed this fix. Try it out!

Thanks, it seems to work just as it should!

I can confirm that this fixes the case in git - with this fix in curl the
manually added Expect header in git could be removed. (For compatibility
with older curl versions, I still think the best option is to keep it,

// Martin

List admin:
Received on 2009-12-07