Re: processing request body in files

2014-08-11 Thread Jeff Kaufman
Thanks! On Fri, Aug 8, 2014 at 12:42 PM, Maxim Dounin wrote: > Hello! > > On Fri, Aug 08, 2014 at 10:44:59AM -0400, Jeff Kaufman wrote: > >> In ngx_pagespeed we want to handle POSTs, processing them in our nginx >> module and performing an action. This works fine for small POSTs, but >> if they'

Re: processing request body in files

2014-08-08 Thread Maxim Dounin
Hello! On Fri, Aug 08, 2014 at 10:44:59AM -0400, Jeff Kaufman wrote: > In ngx_pagespeed we want to handle POSTs, processing them in our nginx > module and performing an action. This works fine for small POSTs, but > if they're too big then r->request_body->temp_file is set and the data > isn't a

processing request body in files

2014-08-08 Thread Jeff Kaufman
In ngx_pagespeed we want to handle POSTs, processing them in our nginx module and performing an action. This works fine for small POSTs, but if they're too big then r->request_body->temp_file is set and the data isn't available in memory. Right now we just log an error, but I'd like to fix this.