[njs] Allowing to configure ar binary.

2019-07-12 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/8cfbc7785708 branches: changeset: 1043:8cfbc7785708 user: Dmitry Volyntsev date: Fri Jul 12 21:18:30 2019 +0300 description: Allowing to configure ar binary. diffstat: auto/make | 5 +++-- configure | 1 + 2 files changed, 4 insertions(+), 2

[njs] Improved typeof for internal types.

2019-07-12 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/b0084c55d444 branches: changeset: 1044:b0084c55d444 user: Dmitry Volyntsev date: Fri Jul 12 23:30:22 2019 +0300 description: Improved typeof for internal types. diffstat: njs/njs_value.c | 3 +++ njs/njs_value.h | 3 +++ nj

Re: [PATCH v2] Gzip: use zlib to write header and trailer

2019-07-12 Thread Maxim Dounin
Hello! On Fri, Jul 12, 2019 at 01:04:51PM +0200, Ilya Leoshkevich wrote: > # HG changeset patch > # User Ilya Leoshkevich > # Date 1562928188 -7200 > # Fri Jul 12 12:43:08 2019 +0200 > # Node ID 0a056523895149d727a703242f2e2b579cfec9da > # Parent 97ce2512373d7278f765f587d4cf087065a55e7c >

[nginx] Gzip: use zlib to write header and trailer.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/ac5a741d39cf branches: changeset: 7534:ac5a741d39cf user: Ilya Leoshkevich date: Fri Jul 12 12:43:08 2019 +0200 description: Gzip: use zlib to write header and trailer. When nginx is used with zlib patched with [1], which provides integration

[nginx] Perl: named locations in $r->internal_redirect().

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/5f642712e7ad branches: changeset: 7533:5f642712e7ad user: Maxim Dounin date: Fri Jul 12 15:39:28 2019 +0300 description: Perl: named locations in $r->internal_redirect(). diffstat: src/http/modules/perl/ngx_http_perl_module.c | 18 +

[nginx] Perl: additional ctx->header_sent checks.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/ede052c67512 branches: changeset: 7531:ede052c67512 user: Maxim Dounin date: Fri Jul 12 15:39:25 2019 +0300 description: Perl: additional ctx->header_sent checks. As we now have ctx->header_sent flag, it is further used to prevent duplicate $r

[nginx] Perl: reworked perl module to pass ctx instead of request.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/deebe988cbd7 branches: changeset: 7524:deebe988cbd7 user: Maxim Dounin date: Fri Jul 12 11:29:22 2019 +0300 description: Perl: reworked perl module to pass ctx instead of request. This ensures that correct ctx is always available, including af

[nginx] Perl: expect escaped URIs in $r->internal_redirect().

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/975d7ab37b39 branches: changeset: 7532:975d7ab37b39 user: Maxim Dounin date: Fri Jul 12 15:39:26 2019 +0300 description: Perl: expect escaped URIs in $r->internal_redirect(). Similarly to the change in 5491:74bfa803a5aa (1.5.9), we should acce

[nginx] Perl: protection against duplicate $r->sleep() calls.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/02cd116ebe2a branches: changeset: 7527:02cd116ebe2a user: Maxim Dounin date: Fri Jul 12 15:34:37 2019 +0300 description: Perl: protection against duplicate $r->sleep() calls. Duplicate $r->sleep() and/or $r->has_request_body() calls result in

[nginx] Perl: avoid returning 500 if header was already sent.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/fd9252844ec1 branches: changeset: 7530:fd9252844ec1 user: Maxim Dounin date: Fri Jul 12 15:39:25 2019 +0300 description: Perl: avoid returning 500 if header was already sent. Returning NGX_HTTP_INTERNAL_SERVER_ERROR if a perl code died after s

[nginx] Perl: handling of allocation errors.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/8125552a10ca branches: changeset: 7526:8125552a10ca user: Maxim Dounin date: Fri Jul 12 13:56:23 2019 +0300 description: Perl: handling of allocation errors. Previously, allocation errors in nginx.xs were more or less ignored, potentially resu

[nginx] Perl: avoid redirects on errors.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/d758d04e0790 branches: changeset: 7529:d758d04e0790 user: Maxim Dounin date: Fri Jul 12 15:38:27 2019 +0300 description: Perl: avoid redirects on errors. Previously, redirects scheduled with $r->internal_redirect() were followed even if the co

[nginx] Perl: disabled unrelated calls from variable handlers.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/0cb693b4cbbb branches: changeset: 7528:0cb693b4cbbb user: Maxim Dounin date: Fri Jul 12 15:35:31 2019 +0300 description: Perl: disabled unrelated calls from variable handlers. Variable handlers are not expected to send anything to the client,

[nginx] Perl: propagate errors.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/575480d3fd01 branches: changeset: 7525:575480d3fd01 user: Maxim Dounin date: Fri Jul 12 13:56:21 2019 +0300 description: Perl: propagate errors. When an error happens, the ctx->error bit is now set, and croak() is called to terminate further p

[nginx] Perl: removed unneeded NGX_DONE test.

2019-07-12 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/919a5c6c828c branches: changeset: 7523:919a5c6c828c user: Maxim Dounin date: Thu Jul 11 23:20:08 2019 +0300 description: Perl: removed unneeded NGX_DONE test. The NGX_DONE test in ngx_http_perl_handle_request() was introduced in 1702:86bb52e28

Re: HTTP/2: allow unlimited number of requests in connection

2019-07-12 Thread Maxim Dounin
Hello! On Mon, Jul 01, 2019 at 11:24:28AM +0200, Michael Würtinger wrote: > thanks a lot for your reply. Could you please elaborate a little bit > which memory resources need to be freed periodically? How much memory > can be held by a connection? What's the worst case scenario? > We are currentl

[PATCH v2] Gzip: use zlib to write header and trailer

2019-07-12 Thread Ilya Leoshkevich
# HG changeset patch # User Ilya Leoshkevich # Date 1562928188 -7200 # Fri Jul 12 12:43:08 2019 +0200 # Node ID 0a056523895149d727a703242f2e2b579cfec9da # Parent 97ce2512373d7278f765f587d4cf087065a55e7c Gzip: use zlib to write header and trailer When nginx is used with zlib patched with [1]