How to parse post data in nginx module ?
Valentin V. Bartenev
ne at vbart.ru
Fri Mar 16 15:16:08 UTC 2012
On Friday 16 March 2012 18:26:48 vivek goel wrote:
> I was tried to create hello world module to read post request but I am
> getting ctx as null value on line no 112
> ctx = ngx_http_get_module_ctx(r, ngx_http_helloworld_module);
> I am attaching the source code
To be able to get ctx, you must set it first by ngx_http_set_ctx() function.
wbr, Valentin V. Bartenev
More information about the nginx-devel