POST Body Truncated

Eric Wong normalperson at
Tue Oct 6 17:30:12 EDT 2009

Chris Wanstrath <chris at> wrote:
> On Tue, Oct 6, 2009 at 2:22 PM, Eric Wong <normalperson at> wrote:
> > This is not good :x
> >
> > It could be a bug in the relatively new TeeInput class.  How large are
> > the POST bodies that are getting truncated?  Which version of Rails is
> > this and which middleware(s), if any, are you running?  I'd like to get
> > to the bottom of this ASAP, thanks!
> My current test payload is 25740 bytes, consistently truncated to
> 12945 bytes when using Unicorn with TCP.
> We're on Rails 2.2.2 - no middlewares, no Rack.

Thanks.  I'll take a look.  Do you have any example controllers/actions
to reproduce this with so I can track this down easier?  (I completely
understand if you can't share secrets, too :).  Thanks.

Eric Wong

More information about the mongrel-unicorn mailing list