Re: Handling large POST data in nginx module

2014-03-31 Thread Maxim Dounin
Hello! On Sun, Mar 30, 2014 at 12:20:30PM +0200, Mapper Uno wrote: > Hi, > > I wrote an nginx module that handles POST data and returns back the same > (something similar to echo_read_request_body in echo module) however, > in echo module the input buffer is passed as is to output buffer. > How

Re: Handling large POST data in nginx module

2014-03-30 Thread Kubo Tatsuhiko
Hello. > What I am seeing in my POST handler routine is, the incoming request > size is 1377344 bytes. However, the file I am sending via curl command > is 1420448 bytes. Where could I be losing the rest of the bytes ?? The incoming request buffer is not always completed reading when nginx's han

Handling large POST data in nginx module

2014-03-30 Thread Mapper Uno
Hi, I wrote an nginx module that handles POST data and returns back the same (something similar to echo_read_request_body in echo module) however, in echo module the input buffer is passed as is to output buffer. However, in my case, I need to copy the incoming buffer and then process it and then