Re: [PATCH] worker_cpu_affinity support for DragonFlyBSD

2017-05-30 Thread Sepherosa Ziehau
On Mon, May 29, 2017 at 10:04 PM, Maxim Dounin wrote: > Hello! > > On Sat, May 27, 2017 at 09:13:55AM +0800, Sepherosa Ziehau wrote: > >> Hi Maxim, >> >> Your patch works. Thank you! > > Committed, thanks for testing. Thank you! -- Tomorrow Will Never Die __

Re: [PATCH 1 of 4] HTTP/2: emit new frames only after applying all SETTINGS params

2017-05-30 Thread Piotr Sikora via nginx-devel
Hey, > # HG changeset patch > # User Piotr Sikora > # Date 1493073310 25200 > # Mon Apr 24 15:35:10 2017 -0700 > # Node ID 07adf0a7009c3244de4b795c0c06927f4316a87f > # Parent 2c4dbcd6f2e4c9c2a1eb8dc1f0d39c99975ae208 > HTTP/2: emit new frames only after applying all SETTINGS params. > > Prev

Re: [PATCH] HTTP/2: add debug logging of control frames

2017-05-30 Thread Piotr Sikora via nginx-devel
Hey Valentin, > What do you suggest instead? All 3 params in the same line? > >http2 send SETTINGS frame MAX_CONCURRENT_STREAMS:%ui > INITIAL_WINDOW_SIZE:%uz MAX_FRAME_SIZE:%ud > > What about receiving part, then? Do you want to put all 6 params in > the same line? > >http2 recv SETTINGS f

[njs] Added support of hex literals.

2017-05-30 Thread Dmitry Volyntsev
details: http://hg.nginx.org/njs/rev/a38c33e9f728 branches: changeset: 347:a38c33e9f728 user: Dmitry Volyntsev date: Tue May 30 19:35:08 2017 +0300 description: Added support of hex literals. diffstat: njs/njs_lexer.c | 57 njs/njs_number.c

Re: [PATCH] HTTP/2: add debug logging of pseudo-headers and cookies

2017-05-30 Thread Valentin V. Bartenev
On Monday 29 May 2017 20:26:50 Piotr Sikora via nginx-devel wrote: > Hey Valentin, > > > +h = ngx_list_push(&r->headers_in.headers); > > +if (h == NULL) { > > +return ngx_http_v2_connection_error(h2c, > > NGX_HTTP_V2_INTERNAL_ERROR); > > This needs to wrap, since the

[nginx] Version bump.

2017-05-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/dfed742c0183 branches: changeset: 7015:dfed742c0183 user: Valentin Bartenev date: Tue May 30 19:29:45 2017 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 line

[nginx] HTTP/2: add debug logging of pseudo-headers and cookies.

2017-05-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ab6ef3037840 branches: changeset: 7016:ab6ef3037840 user: Piotr Sikora date: Tue May 30 17:42:27 2017 +0300 description: HTTP/2: add debug logging of pseudo-headers and cookies. Signed-off-by: Piotr Sikora diffstat: src/http/v2/ngx_http_v2.

[nginx] release-1.13.1 tag

2017-05-30 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/b4cb75066262 branches: changeset: 7014:b4cb75066262 user: Maxim Dounin date: Tue May 30 17:55:23 2017 +0300 description: release-1.13.1 tag diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff --g

[nginx] nginx-1.13.1-RELEASE

2017-05-30 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/539f7893ecb9 branches: changeset: 7013:539f7893ecb9 user: Maxim Dounin date: Tue May 30 17:55:22 2017 +0300 description: nginx-1.13.1-RELEASE diffstat: docs/xml/nginx/changes.xml | 98 ++ 1 files c

[nginx] Updated OpenSSL used for win32 builds.

2017-05-30 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/9b26edd391ab branches: changeset: 7012:9b26edd391ab user: Maxim Dounin date: Tue May 30 17:14:00 2017 +0300 description: Updated OpenSSL used for win32 builds. diffstat: misc/GNUmakefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(

Re: Use primes for hashtable size

2017-05-30 Thread Maxim Dounin
Hello! On Tue, May 30, 2017 at 03:28:03PM +0500, Andrew Borodin wrote: > Hi, nginxers! > > We often use hashtable sizes equal to the power of 2. This can be > damaging for a hashtable. I haven't found any mitigation for this in > nginx code. So I made my own. If this issue is addressed somewhere

Use primes for hashtable size

2017-05-30 Thread Andrew Borodin
Hi, nginxers! We often use hashtable sizes equal to the power of 2. This can be damaging for a hashtable. I haven't found any mitigation for this in nginx code. So I made my own. If this issue is addressed somewhere just ignore my message. Or I'd be happy if someone will point me it. For the expl