Michael Heyvaert's Amplidata patch set for http  expect-100  handling is also 
worth considering.

It is published at 
https://bitbucket.org/amplidata/pound/src/f2affa5f867a9718c9dc864e5f1c2e0eddd91b9c/debian/patches/expect_100_continued.patch?at=default

Regards,
Coleman

From: Piyush Devnani [mailto:[email protected]]
Sent: 29 November 2013 12:28
To: [email protected]
Cc: [email protected]
Subject: [Pound Mailing List] Expect header support

The HTTP/1.1 spec allows for clients to send an 'Expect: 100-continue' header 
for large request payloads (8.2.3 Use of the 100 (Continue) Status - Hypertext 
Transfer Protocol -- HTTP/1.1 - RFC2616).

This will pause the request after the headers have been sent and allow the 
server to reject it based on those headers.

If those headers did not indicate a bad request (e.g. a too large 
Content-Length), then it responds with a 100 Continue status line, allowing the 
client to proceed.
At this point the client sends the request body.

The attached patch enables a basic support for the above in Pound.

This would probably require further modification to support multiple scenario 
and error cases. However, after review and any updates if required, it would be 
great if this gets integrated in future pound releases.
Sincerely,
Piyush

Reply via email to