Re: 2: header already sent

2018-07-16 Thread Roman Arutyunyan
Hi Dk Jack, On Sun, Jul 15, 2018 at 06:09:24PM -0700, Dk Jack wrote: > Hi Roman, > Sorry, it took a while for me to test the debug build. Since my module was > using timers, the debug logs in ngx_event_timer.{c,h} were causing a crash > (see end of email for details about the crash). Anyways, the

[njs] Style.

2018-07-16 Thread Sergey Kandaurov
details: http://hg.nginx.org/njs/rev/44cf55b40b6b branches: changeset: 556:44cf55b40b6b user: Sergey Kandaurov date: Mon Jul 16 14:20:16 2018 +0300 description: Style. diffstat: nxt/auto/getrandom | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r

[njs] Supplied getrandom() test with commentary about supported OSes.

2018-07-16 Thread Sergey Kandaurov
details: http://hg.nginx.org/njs/rev/e9d93bfd7714 branches: changeset: 557:e9d93bfd7714 user: Sergey Kandaurov date: Mon Jul 16 14:21:09 2018 +0300 description: Supplied getrandom() test with commentary about supported OSes. diffstat: nxt/auto/getrandom | 2 +- 1 files changed, 1

[njs] Added getentropy() support.

2018-07-16 Thread Sergey Kandaurov
details: http://hg.nginx.org/njs/rev/04dc301f7d5a branches: changeset: 558:04dc301f7d5a user: Sergey Kandaurov date: Mon Jul 16 14:30:41 2018 +0300 description: Added getentropy() support. diffstat: nxt/auto/getrandom | 43 +++ nxt/nxt_rand

[nginx] SSL: use of the SSL_OP_NO_RENEGOTIATION option (ticket #1376).

2018-07-16 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/dcab86115261 branches: changeset: 7319:dcab86115261 user: Maxim Dounin date: Mon Jul 16 17:47:48 2018 +0300 description: SSL: use of the SSL_OP_NO_RENEGOTIATION option (ticket #1376). The SSL_OP_NO_RENEGOTIATION option is available in OpenSSL 1

[nginx] SSL: fixed SSL_clear_options() usage with OpenSSL 1.1.0+.

2018-07-16 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/3443fe40bdc7 branches: changeset: 7318:3443fe40bdc7 user: Maxim Dounin date: Mon Jul 16 17:47:20 2018 +0300 description: SSL: fixed SSL_clear_options() usage with OpenSSL 1.1.0+. In OpenSSL 1.1.0 the SSL_CTRL_CLEAR_OPTIONS macro was removed, so

[nginx] SSL: logging levels of "unsupported protocol", "version too low".

2018-07-16 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/6565f0dbe8c5 branches: changeset: 7317:6565f0dbe8c5 user: Maxim Dounin date: Mon Jul 16 17:47:18 2018 +0300 description: SSL: logging levels of "unsupported protocol", "version too low". Starting with OpenSSL 1.1.0, SSL_R_UNSUPPORTED_PROTOCOL i

Re: 2: header already sent

2018-07-16 Thread Dk Jack
Thanks Roman, Passing NGX_OK to finalize_request also worked. I'll use that. Thanks for all you help. Dk PS: Requiring ev->data to be of type ngx_conn_t is a strange one. I thought it was for user data. On Mon, Jul 16, 2018 at 4:29 AM Roman Arutyunyan wrote: > Hi Dk Jack, > > On Sun, Jul 15,