Re: [PATCH] worker_cpu_affinity support for DragonFlyBSD

2017-05-26 Thread Sepherosa Ziehau
Hi Maxim, Your patch works. Thank you! Thanks, sephe On Sat, May 27, 2017 at 12:04 AM, Maxim Dounin wrote: > Hello! > > On Fri, May 26, 2017 at 02:56:06PM +0800, Sepherosa Ziehau wrote: > >> Hi all, >> >> The patch is here: >>

Re: [PATCH] Be more verbose in ngx_setaffinity()

2017-05-26 Thread Sepherosa Ziehau
On Fri, May 26, 2017 at 11:31 PM, Maxim Dounin wrote: > Hello! > > On Fri, May 26, 2017 at 04:42:51PM +0800, Sepherosa Ziehau wrote: > >> Hi all, >> >> Patch is here: >> https://leaf.dragonflybsd.org/~sephe/verb_setaffinity.diff > > Process PID is present in error log

[nginx] Introduced ngx_tcp_nodelay().

2017-05-26 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/ed1101bbf19f branches: changeset: 7007:ed1101bbf19f user: Ruslan Ermilov date: Fri May 26 22:52:48 2017 +0300 description: Introduced ngx_tcp_nodelay(). diffstat: src/core/ngx_connection.c| 43

[njs] parseInt() did not test invalid values.

2017-05-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/be8d68d4b8b5 branches: changeset: 342:be8d68d4b8b5 user: Igor Sysoev date: Fri May 26 20:07:24 2017 +0300 description: parseInt() did not test invalid values. diffstat: njs/njs_number.c | 22 --

[njs] A small rbtree insert fixup optimization.

2017-05-26 Thread Igor Sysoev
details: http://hg.nginx.org/njs/rev/7156ba123eae branches: changeset: 343:7156ba123eae user: Igor Sysoev date: Fri May 26 20:10:22 2017 +0300 description: A small rbtree insert fixup optimization. Thanks to ??? (Hong Zhi Dao). diffstat: nxt/nxt_rbtree.c | 13

Re: [PATCH] worker_cpu_affinity support for DragonFlyBSD

2017-05-26 Thread Maxim Dounin
Hello! On Fri, May 26, 2017 at 02:56:06PM +0800, Sepherosa Ziehau wrote: > Hi all, > > The patch is here: > https://leaf.dragonflybsd.org/~sephe/nginx_dfly_affinity.diff > > Unlike FreeBSD, we adopted sched_setaffinity() syscall for process CPU > affinity. A better solution might be to move

PREACCESS CTX is NULL

2017-05-26 Thread Antonio Nappa
Hello, I am allocating a ctx (on r->connection->pool) during the POST_READ phase, and I find out that in PREACCESS the ctx is NULL, is this an intended behavior? Thanks, Jeppo ___ nginx-devel mailing list nginx-devel@nginx.org

[PATCH] Be more verbose in ngx_setaffinity()

2017-05-26 Thread Sepherosa Ziehau
Hi all, Patch is here: https://leaf.dragonflybsd.org/~sephe/verb_setaffinity.diff Thanks, sephe -- Tomorrow Will Never Die ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

[PATCH] worker_cpu_affinity support for DragonFlyBSD

2017-05-26 Thread Sepherosa Ziehau
Hi all, The patch is here: https://leaf.dragonflybsd.org/~sephe/nginx_dfly_affinity.diff Unlike FreeBSD, we adopted sched_setaffinity() syscall for process CPU affinity. Thanks, sephe -- Tomorrow Will Never Die ___ nginx-devel mailing list

Re: [PATCH] Add RFC5424 syslog support

2017-05-26 Thread Sepherosa Ziehau
On Fri, May 26, 2017 at 1:35 PM, Vladimir Homutov wrote: > On Fri, May 26, 2017 at 11:20:01AM +0800, Sepherosa Ziehau wrote: >> Hi all, >> >> Any update on this? >> > Hi, > > nginx deliberately supports just RFC 3164 and not any later version to keep > things simple. Thank you