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
I'm attempting to write my first plugin, it's going swimmingly except
I'm trying to add to the SSI module the same way the perl module does
and have spent a lot of time flicking between the two (c isn't one of my
It appears to work, the very last log line does get called, then it
2012/03/16 20:14:55 [emerg] 10663#0: *1 working with the bufferzzzzzz
while sending response to client, client: 118.xx.xx.66, server:
flatus.xx.net, request: "GET /index.html HTTP/1.1", host:
2012/03/16 20:14:55 [emerg] 10663#0: *1 working with the buffer failing
btw YqEgHCzpROFbVQPah9mA_w==,1331892955 while sending response to
client, client: 118.xx.xx.66, server: flatus.xx.net, request: "GET
/index.html HTTP/1.1", host: "flatus.xx.net:8081"
I've attached the plugin, such as it is...
You get the log message from line 130
ngx_log_error(NGX_LOG_EMERG, c->log, 0, "working with the buffer failing
btw %V", &foo);
but then it promptly crashes....
Any ideas? I thought it was going along so well :(
attached patch fixes ./configure script for less error-forgiving compilers
(like LLVM/clang) when they are used with -Werror option.
- printf() is defined in missing <stdio.h> header,
- sizeof() returns size_t type, which has different signedness on different
operating systems (hence %z).
- setproctitle() is defined in <stdlib.h> on both: NetBSD and OpenBSD.
Piotr Sikora < piotr.sikora(a)frickle.com >