[ANN] unicorn 0.93.2 - more compatible with Rails

Chris Wanstrath 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:

> Changes:
>
> 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:
>  https://rails.lighthouseapp.com/projects/8994/tickets/3343

This release fixes the POST issue we saw. Thanks!

-- 
Chris Wanstrath
http://github.com/defunkt


More information about the mongrel-unicorn mailing list