Re: Module connecting outside

2017-03-30 Thread Antonio Nappa
Hello, I have a module connecting to the outside through SSL with the usage of ngx_event_connect_peer and the SSL primitives of nginx. My next question is, it is better to have a separate peer and its connection for each worker, or share the same connection among all the workers? My idea is to

[njs] Array.of() method.

2017-03-30 Thread Andrey Zelenkov
details: http://hg.nginx.org/njs/rev/b7d65eb7d6fa branches: changeset: 324:b7d65eb7d6fa user: Andrey Zelenkov date: Thu Mar 30 22:01:17 2017 +0300 description: Array.of() method. diffstat: njs/njs_array.c | 34 ++

Re: [PATCH] HTTP/2: reject HTTP/2 requests without ":scheme" pseudo-header

2017-03-30 Thread Valentin V. Bartenev
On Wednesday 29 March 2017 20:01:55 Piotr Sikora via nginx-devel wrote: > Hey Valentin, > > > IMHO it's not a good idea to combine style fixes with behavior changes. > > Behavior changing commits are occasionally reverted. > > Fair enough, I'll update both patches shortly. > > > That's why it's

Re: [PATCH] HTTP/2: style and typos

2017-03-30 Thread Valentin V. Bartenev
On Wednesday 29 March 2017 18:02:48 Piotr Sikora via nginx-devel wrote: > # HG changeset patch > # User Piotr Sikora > # Date 1490516701 25200 > # Sun Mar 26 01:25:01 2017 -0700 > # Node ID c76c2cedb2b2a1af16d77448e81801954713961f > # Parent

[nginx] HTTP/2: style and typos.

2017-03-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/28dc369899ea branches: changeset: 6958:28dc369899ea user: Piotr Sikora date: Sun Mar 26 01:25:01 2017 -0700 description: HTTP/2: style and typos. Signed-off-by: Piotr Sikora diffstat:

Re: [PATCH] HTTP/2: reject HTTP/2 requests without ":scheme" pseudo-header

2017-03-30 Thread Maxim Konovalov
Hi Piotr, On 30/03/2017 04:01, Piotr Sikora via nginx-devel wrote: > Hey Valentin, > >> IMHO it's not a good idea to combine style fixes with behavior changes. >> Behavior changing commits are occasionally reverted. > > Fair enough, I'll update both patches shortly. > >> That's why it's still