Introducing Nginx Guts blog

Ranier ranier at
Sat Jan 22 21:25:09 MSK 2011

Em 22/1/2011 02:14, agentzh escreveu:
> On Fri, Jan 21, 2011 at 8:58 PM, Ranier<ranier at>  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?
> 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 at
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.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list