[ANN] unicorn 0.93.2 - more compatible with Rails
chris at ozmm.org
Wed Oct 7 14:04:43 EDT 2009
On Wed, Oct 7, 2009 at 1:58 AM, Eric Wong <normalperson at yhbt.net> wrote:
> Avoid truncated POST bodies with URL-encoded forms in Rails
> by switching TeeInput to use read-in-full semantics (only) when
> a Content-Length: header exists. Chunked request bodies
> continue to exhibit readpartial semantics to support
> simultaneous bidirectional chunking.
> The lack of return value checking in Rails to protect against a
> short ios.read(length) is entirely reasonable even if not
> pedantically correct. Most ios.read(length) implementations
> return the full amount requested except right before EOF.
> A ticket has been opened here to track the issue:
This release fixes the POST issue we saw. Thanks!
More information about the mongrel-unicorn