How to parse post data in nginx module ?

vivek goel goelvivek2011 at gmail.com
Sat Mar 17 04:50:13 UTC 2012


Thanks by using ngx_http_set_ctx now problem is fixed.
But now I am getting strange error with post request  many times I am
getting request timed out or connection reset by pear.
What I might be doing wrong  while reading post request ?


regards
Vivek Goel



On Fri, Mar 16, 2012 at 7:56 PM, vivek goel <goelvivek2011 at gmail.com> 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
>
> regards
> Vivek Goel
>
>
>
> On Sun, Feb 26, 2012 at 11:15 PM, vivek goel <goelvivek2011 at gmail.com>wrote:
>
>> For reading get request I can use function ngx_http_form_input_arg but I
>> couldn't find any function by using which I can read post data in nginx ?
>> Is there any function in devel module or nginx api I can use to read post
>> data ?
>>
>> regards
>> Vivek Goel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120317/f414106a/attachment.html>


More information about the nginx-devel mailing list