[nginx] Version bump.

2018-07-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/1f410bcef7c1 branches: changeset: 7310:1f410bcef7c1 user: Maxim Dounin date: Thu Jul 05 20:44:58 2018 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines):

[nginx] Resolver: retry sending queries on errors (ticket #1511).

2018-07-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/54683f650cbd branches: changeset: 7312:54683f650cbd user: Maxim Dounin date: Thu Jul 05 22:21:14 2018 +0300 description: Resolver: retry sending queries on errors (ticket #1511). Errors when sending UDP datagrams can happen, e.g., when local IP

[nginx] SSL: logging level of "https proxy request" errors.

2018-07-05 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/778358452a81 branches: changeset: 7311:778358452a81 user: Maxim Dounin date: Thu Jul 05 20:45:29 2018 +0300 description: SSL: logging level of "https proxy request" errors. The "http request" and "https proxy request" errors cannot happen with

header already sent

2018-07-05 Thread Dk Jack
Hi, I have an nginx module. The purpose of my module is to inspect every request and make a binary decision (i.e drop or allow). When dropping, I am sending a custom status code and response message. I've setup my module handler to be called in the NGX_HTTP_REWRITE_PHASE. Things seem to be working

Re: header already sent

2018-07-05 Thread Maxim Dounin
Hello! On Thu, Jul 05, 2018 at 05:44:00PM -0700, Dk Jack wrote: > Hi, > I have an nginx module. The purpose of my module is to inspect every > request and make a binary decision (i.e drop or allow). When dropping, I am > sending a custom status code and response message. I've setup my module > ha

Re: header already sent

2018-07-05 Thread Dk Jack
After experimenting a little more, it looks it happens when I return error codes that don't fall between NGX_OK - NGX_ABORT. After changing my code to return NGX_DECLINED, the error log went away. On Thu, Jul 5, 2018 at 5:44 PM Dk Jack wrote: > Hi, > I have an nginx module. The purpose of my mod