Accessing parsed locations in post-configuration

2017-05-29 Thread Pillai, Saju
Hello, I would like to inspect the parsed locations (ngx_http_core_loc_conf_s->static_locations & ->regex_locations) in my module post-configuration callback. However using loc_conf = ngx_http_conf_get_module_loc_conf(cf, ngx_http_core_module); I always get loc_conf->static_locations &

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

2017-05-29 Thread Piotr Sikora via nginx-devel
Hey Valentin, > +h = ngx_list_push(>headers_in.headers); > +if (h == NULL) { > +return ngx_http_v2_connection_error(h2c, > NGX_HTTP_V2_INTERNAL_ERROR); This needs to wrap, since the line is too long. Otherwise, looks good, thanks! Best regards, Piotr Sikora

[nginx] Fixed background requests with asynchronous operations.

2017-05-29 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/5e05118678af branches: changeset: 7011:5e05118678af user: Roman Arutyunyan date: Mon May 29 23:33:38 2017 +0300 description: Fixed background requests with asynchronous operations. If the main request was finalized while a

[njs] A fix of bug introduced in changeset 7f1f3dcb278f.

2017-05-29 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/4e2da602c2a3 branches: changeset: 346:4e2da602c2a3 user: Igor Sysoev date: Mon May 29 22:13:21 2017 +0300 description: A fix of bug introduced in changeset 7f1f3dcb278f. diffstat: njs/njs_parser.c | 2 +- 1 files changed, 1

Re: [PATCH] worker_cpu_affinity support for DragonFlyBSD

2017-05-29 Thread Maxim Dounin
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. [...] -- Maxim Dounin http://nginx.org/ ___ nginx-devel mailing list nginx-devel@nginx.org

[nginx] Configure: sched_setaffinity() test moved to auto/unix.

2017-05-29 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/c1524829af3d branches: changeset: 7010:c1524829af3d user: Maxim Dounin date: Mon May 29 16:48:30 2017 +0300 description: Configure: sched_setaffinity() test moved to auto/unix. The sched_setaffinity() function was

[nginx] SSL: set TCP_NODELAY on SSL connections before handshake.

2017-05-29 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/29c6d66b83ba branches: changeset: 7008:29c6d66b83ba user: Maxim Dounin date: Mon May 29 16:34:29 2017 +0300 description: SSL: set TCP_NODELAY on SSL connections before handshake. With OpenSSL 1.1.0+, the workaround for

[nginx] Style: changed checks of ngx_ssl_create_connection() to != NGX_OK.

2017-05-29 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/03444167a3bb branches: changeset: 7009:03444167a3bb user: Maxim Dounin date: Mon May 29 16:34:35 2017 +0300 description: Style: changed checks of ngx_ssl_create_connection() to != NGX_OK. In http these checks were changed

[njs] A small rbtree delete fixup optimization.

2017-05-29 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/c0bdd23e740e branches: changeset: 345:c0bdd23e740e user: Igor Sysoev date: Mon May 29 10:17:36 2017 +0300 description: A small rbtree delete fixup optimization. Setting node color to black is not required here because it is