Welcome! Log In Create A New Profile

Advanced

Re: Introducing Nginx Guts blog

January 22, 2011 12:22PM
Em 22/1/2011 02:14, agentzh escreveu:
> On Fri, Jan 21, 2011 at 8:58 PM, Ranier<ranier@cultura.com.br> wrote:
>> But the most surprising is lack of core support for POST FIELDS?
>> With apache is easy get values of POST FIELDS, but still with nginx is
>> necessary one or more modules!
>>
> Have you checked the ngx_form_input module?
>
> http://github.com/calio/form-input-nginx-module
>
> With this module, it's easy to manipulate those "POST FIELDS" ;)
>
> It's also possible to do this in Lua in ngx_lua :)
>
> Cheers,
> -agentzh
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://nginx.org/mailman/listinfo/nginx-devel
>
Hi Agentzh,
Yes I checked this module.

IMO, ithasdrawbacks!
For one page, with fews fields, works well.
But, with lots of pages, each with many fields, slodown all.

Drawbacks:
1. Need set field by field in nginx.conf ($var)
2. Runthewholemodule, each timeyouread one field.
3. Copy data
4. More memory for $var

Core support for POST FIELDS:
1. No need set $var in nginx.conf
2. Read all fields one pass
3. Each field in ngx_str_t variable, no need data copy, less memory
4. Performance

Best regards,

Ranier Vilela
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Introducing Nginx Guts blog

Valery Kholodkov 2245 January 21, 2011 05:58AM

Re: Introducing Nginx Guts blog

Ranier 1087 January 21, 2011 06:56AM

Re: Introducing Nginx Guts blog

agentzh 879 January 22, 2011 12:16AM

Re: Introducing Nginx Guts blog

Ranier 1337 January 22, 2011 12:22PM

Re: Introducing Nginx Guts blog

Peter Leonov 890 January 21, 2011 08:02AM

Re: Introducing Nginx Guts blog

Valery Kholodkov 883 January 21, 2011 09:06AM

Re: Introducing Nginx Guts blog

Ranier 1146 January 21, 2011 10:06AM

Re: Introducing Nginx Guts blog Attachments

nn hust 918 January 21, 2011 11:30AM

Re: Introducing Nginx Guts blog

Mr.Hien 1279 January 21, 2011 09:08AM



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

Online Users

Guests: 283
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