how to write a filter module after the postpone filter .
if i change module's config file or complie file (auto/) ? any example?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,245707,249183#msg-249183
___
nginx mailing list
nginx@nginx.org
hi, angentzh
I use echo module(angentzh) to issue a subrequest(POST method) that it's
body from parent's request body, and i add some code in
ngx_http_echo_subrequest->ngx_http_echo_parse_subrequest_spec :
so, it's not work, but change to '-b' or '-f', it's OK. help ?
...
Excepting response:
"John abc"
Not
Response1:"John"
Response2:"abc"
Thanks for your patience!
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,245707,245864#msg-245864
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/l
Yes,you are right. But I want combine the data like:
Subrequst1's response: "first name: John"
Subrequst2's response: "last name: abc"
Excepting response:
"John abc"
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,245707,245860#msg-245860
__
hi, agentzh
There is also a problem that how can hold the one subrequest's response
meanwhile waiting others(subrequest) comes, then combine the all
response(data) and send it to client? is it possible?
thanks a lot!
Best regards,
honwel
Posted at Nginx Forum:
http://forum.ngin
ok, thanks.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,245707,245835#msg-245835
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
= r->http_version;
...
sr->method_name = r->method_name;
???
thanks a lot!
best regards
honwel
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,245707,245819#msg-245819
___
nginx mailing list
nginx@nginx.org
http:
Ok,thanks a lot,I will try.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,245707,245726#msg-245726
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
eds to return to its
other work while it waits for a response. So we need to check the return
value of ngx_http_subrequest"
How to write a Parallel subrequests which several subrequests by POST in
parallel rather than one by one after received preivous response ?
thanks.
best regards
honw
Hi, there
I want to get ip and port under forward proxy use NGINX, a forward proxy
sketch like this:
[Client ]-> [NGINX] -> [Internet]
so i want to get proxy's ip and port . i have try and made some
modifications to the source code including ngx_http_upstream.c
ngx_event_connect.c , there
good news !
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,237732,237779#msg-237779
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
i use valgrind to check memory leak, and have detected some error:
==2243== Invalid write of size 1
==2243==at 0x4A08088: memcpy (mc_replace_strmem.c:628)
==2243==by 0x4448C9: ngx_http_proxy_subs_headers
(ngx_http_proxy_subs_filter.c:149)
==2243==by 0x45B2FB: ngx_http_proxy_create_requ
thanks, i will try as you mention and report it on forum.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,237393,237397#msg-237397
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
hi
on centos 6, nginx-1.2.2, nginx was compiled with:
--prefix=/usr/local/nginx --user=root --group=root --with-http_ssl_module
--with-ipv6 --with-pcre=/home/nginx/src/pcre-8.20
--with-openssl=/home/nginx/src/openssl-1.0.1c
--with-zlib=/home/nginx/src/zlib-1.2.7
--add-module=/home/nginx/svn/ngi
14 matches
Mail list logo