[ANN] OpenResty 1.5.11.1 released

2014-03-30 Thread Yichun Zhang (agentzh)
: * upgraded LuaJIT to v2.1-20140330. * feature: included Mike Pall's new "trace stitching" feature that can compile around most of the NYI items. thanks CloudFlare Inc. for sponsoring the development. This helps compiling more Lua code. For example, it

Re: debug logs not getting generated

2014-03-30 Thread Kunal Pariani
Never mind. Got it working. Had a script which was overwriting the loglevel value in the conf file after restarting nginx. Thanks for the help. On Sat, Mar 29, 2014 at 3:36 PM, Kunal Pariani wrote: > 3) Make sure you've restarted nginx (or upgraded running binary). > > 4) Make sure the config y

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

Unable to get large POST data in post handler nginx module

2014-03-30 Thread Mapper Uno
Hi, I am writing an nginx module that processes POST requests. For small data typically less than 1000 bytes, the module successfully receives data. However, for larger data > 1000 bytes or so, I get NULL. ngx_http_request_t *r; ngx_chain_t *ch = r->request_body->bufs; // > For l