Welcome! Log In Create A New Profile

Advanced

Re: How to parse post data in nginx module ?

March 17, 2012 12:52AM
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@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@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
>>
>>
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

How to parse post data in nginx module ?

vivek goel 6665 February 26, 2012 12:46PM

Re: How to parse post data in nginx module ?

kyprizel 2277 February 26, 2012 12:54PM

Re: How to parse post data in nginx module ?

goelviek2011@gmail.com 1884 March 16, 2012 10:28AM

Re: How to parse post data in nginx module ?

goelviek2011@gmail.com 3286 March 16, 2012 10:30AM

Re: How to parse post data in nginx module ?

Valentin V. Bartenev 1322 March 16, 2012 11:18AM

Re: How to parse post data in nginx module ?

goelviek2011@gmail.com 1858 March 17, 2012 12:52AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 166
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready