Re: [PATCH v2] Make ngx_http_parse_unsafe_uri() to be able to unescape uri

2013-12-10 Thread Raman Shishniou
Hello, This is "simplified" and a little more more secure version of the previous patch. My test program to check the new behavior (linux only): http://pastebin.com/raw.php?i=xDfUyAjw ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.ng

[PATCH v2] Make ngx_http_parse_unsafe_uri() to be able to unescape uri

2013-12-10 Thread Raman Shishniou
# HG changeset patch # User Raman Shishniou # Date 1386740673 -10800 # Node ID 353840924c0ffd1203c8d0894f2128a2548f80c5 # Parent a279d2a33dbfbad511f4415f833c35a60e46bb76 Make ngx_http_parse_unsafe_uri() to be able to unescape uri It makes possible to use an escaped uri with "X-Accel-Redirect" he

Re: Nginx Logging to Zeromq Module - Sparkngin

2013-12-10 Thread Piotr Sikora
Hey Steve, You've worked on something similar in the past what's your opinion on the performance of a zeromq module vs redis? That's rather strange question. ZeroMQ is transport layer, Redis is datastore... That's like asking what's faster: TCP or PostgreSQL? ;) Having said that, if Redis i

Re: [PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.

2013-12-10 Thread rand
> Of course any installed pcre instance can be used. Moreover, > nginx will try hard to detect various standard installations, see > lib/pcre/conf. > > The --with-pcre option was introduced to simplify building the > library with nginx itself, which is sometimes practical, > especially if the

Re: [PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.

2013-12-10 Thread Maxim Dounin
Hello! On Tue, Dec 10, 2013 at 10:31:26AM -0800, r...@sent.com wrote: > On Tue, Dec 10, 2013, at 10:25 AM, Maxim Dounin wrote: > > > Right now, when PCRE is compiled from source via --with-pcre, there is > > Is the --with-pcre option in nginx, pointing to path to pcre src files, > necessarily re

Re: [PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.

2013-12-10 Thread rand
On Tue, Dec 10, 2013, at 10:25 AM, Maxim Dounin wrote: > > Right now, when PCRE is compiled from source via --with-pcre, there is Is the --with-pcre option in nginx, pointing to path to pcre src files, necessarily rebuilding pcre in/with the nginx build? If we've got a locally configured/built/in

Re: [PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.

2013-12-10 Thread Maxim Dounin
Hello! On Tue, Dec 10, 2013 at 09:14:15AM -0800, Yichun Zhang (agentzh) wrote: > Hello! > > Right now, when PCRE is compiled from source via --with-pcre, there is > no way to add custom PCRE configure options for the PCRE build, like > --enable-utf8. The following patch adds the new option > --w

Re: Nginx Logging to Zeromq Module - Sparkngin

2013-12-10 Thread Steve Morin
Piotr, You've worked on something similar in the past what's your opinion on the performance of a zeromq module vs redis? -Steve On Tue, Dec 10, 2013 at 7:00 AM, W-Mark Kubacki wrote: > 2013/12/10 MAGNIEN, Thierry : > > > > I don't know much about Zeromq performance, but we pushed redis to abo

Re: [PATCH] Make ngx_http_parse_unsafe_uri() to be able to unescape uri

2013-12-10 Thread Maxim Dounin
Hello! On Sun, Dec 08, 2013 at 02:40:26AM +0300, Raman Shishniou wrote: > # HG changeset patch > # User Raman Shishniou > # Date 1386459301 -10800 > # Node ID 54f3670e04e82e00aa424d9773868749026bc693 > # Parent 58716fd3bd2d63c93b0c04fa121232b7126e724b > Make ngx_http_parse_unsafe_uri() to be ab

[PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.

2013-12-10 Thread Yichun Zhang (agentzh)
Hello! Right now, when PCRE is compiled from source via --with-pcre, there is no way to add custom PCRE configure options for the PCRE build, like --enable-utf8. The following patch adds the new option --with-pcre-conf-opt=OPTIONS for this purpose. Comments welcome as always! :) Thanks! -agentzh

[nginx] SPDY: drop the "delayed" flag when finalizing connection.

2013-12-10 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a279d2a33dbf branches: changeset: 5465:a279d2a33dbf user: Valentin Bartenev date: Tue Dec 10 20:27:33 2013 +0400 description: SPDY: drop the "delayed" flag when finalizing connection. This flag in SPDY fake write events serves the same purposes

Re: Nginx Logging to Zeromq Module - Sparkngin

2013-12-10 Thread W-Mark Kubacki
2013/12/10 MAGNIEN, Thierry : > > I don't know much about Zeromq performance, but we pushed redis to about 300k > commands per second on our production servers (8 cores), and benchmarks on > better hardware (24 cores) show it could handle close to 500k/s. ØMQ should come pretty close or even exc

RE: Nginx Logging to Zeromq Module - Sparkngin

2013-12-10 Thread MAGNIEN, Thierry
Hi, >Thanks W-Mark > >[1] I have been looking at that module and a couple others including  >https://github.com/FRiCKLE/ngx_zeromq > >[2] My understanding is that nginx uses a number of worker process that are >isolated, but need to see how zeromq handles that and if a socket can me >shared.  Gi