Re: POST Body Truncated

2009-10-06 Thread Chris Wanstrath
On Tue, Oct 6, 2009 at 2:22 PM, Eric Wong normalper...@yhbt.net 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

Re: POST Body Truncated

2009-10-06 Thread Eric Wong
Chris Wanstrath ch...@ozmm.org wrote: Hello list, I'm running into an issue where POST bodies are truncated by the time they hit Rails. It occurs with both TCP and UDS (both behind nginx). This problem does not happen when I'm running TCP Thin behind nginx. I have Unicorn 0.93.1

Re: POST Body Truncated

2009-10-06 Thread Chris Wanstrath
On Tue, Oct 6, 2009 at 2:30 PM, Eric Wong normalper...@yhbt.net wrote: 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. It happens everywhere

Re: POST Body Truncated

2009-10-06 Thread Eric Wong
Chris Wanstrath ch...@ozmm.org wrote: On Tue, Oct 6, 2009 at 2:30 PM, Eric Wong normalper...@yhbt.net wrote: 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

Re: POST Body Truncated

2009-10-06 Thread Eric Wong
Eric Wong normalper...@yhbt.net wrote: Chris Wanstrath ch...@ozmm.org wrote: On Tue, Oct 6, 2009 at 2:50 PM, Eric Wong normalper...@yhbt.net wrote: No worries, I'm working on a a reproducible test case.  Can you try and see if you're using curl's -F to POST, you _don't_ hit it?

Re: POST Body Truncated

2009-10-06 Thread Eric Wong
Chris Wanstrath ch...@ozmm.org wrote: On Tue, Oct 6, 2009 at 3:52 PM, Eric Wong normalper...@yhbt.net wrote: OK, here's a workaround that should work for now.  I have to hit the road in a few minutes but will be back on a computer in a few hours. This only affects older Rails (and I'm