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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel