[PATCH 1 of 4] QUIC: fixed-length buffers for secrets

2022-02-21 Thread Vladimir Homutov
Patch subject is complete summary. src/event/quic/ngx_event_quic_protection.c | 202 +++- 1 files changed, 105 insertions(+), 97 deletions(-) # HG changeset patch # User Vladimir Homutov # Date 1645440604 -10800 # Mon Feb 21 13:50:04 2022 +0300 # Branch quic #

[PATCH 2 of 4] QUIC: avoided pool usage in ngx_quic_protection.c

2022-02-21 Thread Vladimir Homutov
Patch subject is complete summary. src/event/quic/ngx_event_quic.c| 2 +- src/event/quic/ngx_event_quic_output.c | 2 +- src/event/quic/ngx_event_quic_protection.c | 37 - src/event/quic/ngx_event_quic_protection.h | 6 ++--

[PATCH 0 of 4] [QUIC] avoid pool allocations

2022-02-21 Thread Vladimir Homutov
it is desirable to avoid pool allocations at early stages of quic connection processing. Currently, code in protection.c and tokens.c allocates memory dynamically, while this is not strictly necessary, as allocated objects have fixed size and sometimes short lifetime. The patchset

[PATCH 3 of 4] QUIC: removed ngx_quic_keys_new()

2022-02-21 Thread Vladimir Homutov
The ngx_quic_keys_t structure is now exposed. This allows to use it in contexts where no pool/connection is available, i.e. early packet processing. src/event/quic/ngx_event_quic.c| 2 +- src/event/quic/ngx_event_quic_output.c | 8 ++--

[PATCH 4 of 4] QUIC: avoided pool usage in token calculation

2022-02-21 Thread Vladimir Homutov
Patch subject is complete summary. src/event/quic/ngx_event_quic_output.c| 11 +-- src/event/quic/ngx_event_quic_tokens.c| 22 -- src/event/quic/ngx_event_quic_tokens.h| 14 +- src/event/quic/ngx_event_quic_transport.h | 1 + 4 files

Clients fail to connect via HTTP3 over QUIC

2022-02-21 Thread David Hu via nginx-devel
I have compiled the latest master branch of nginx-quic with these options: nginx version: nginx/1.21.7 (8861:b5c87e0e57ef) built with OpenSSL 3.0.1+quic 14 Dec 2021 TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx --build=8861:b5c87e0e57ef --with-debug

[njs] Fixed Array.prototype.concat() when "this" is a slow array.

2022-02-21 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/5064e36ad7b9 branches: changeset: 1829:5064e36ad7b9 user: Dmitry Volyntsev date: Mon Feb 21 16:52:47 2022 + description: Fixed Array.prototype.concat() when "this" is a slow array. Previously, when the current appended element is fast array

Re: [PATCH 1 of 4] QUIC: fixed-length buffers for secrets

2022-02-21 Thread Sergey Kandaurov
On Mon, Feb 21, 2022 at 02:10:31PM +0300, Vladimir Homutov wrote: > Patch subject is complete summary. > > > src/event/quic/ngx_event_quic_protection.c | 202 > +++- > 1 files changed, 105 insertions(+), 97 deletions(-) > > > # HG changeset patch > # User Vladimir

[njs] Fixed frame allocation from an awaited frame.

2022-02-21 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/eb8689f0a850 branches: changeset: 1830:eb8689f0a850 user: Dmitry Volyntsev date: Mon Feb 21 16:52:59 2022 + description: Fixed frame allocation from an awaited frame. njs_function_frame_save() is used to save the awaited frame when "await"

[njs] Fixed allocation of large array literals.

2022-02-21 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/805c1c96a2d2 branches: changeset: 1831:805c1c96a2d2 user: Dmitry Volyntsev date: Mon Feb 21 16:53:16 2022 + description: Fixed allocation of large array literals. Previously, allocation of large array literals may result in null-pointer

[njs] Refactoring of user modules importing.

2022-02-21 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/77c398f26d7e branches: changeset: 1828:77c398f26d7e user: Dmitry Volyntsev date: Mon Feb 21 14:49:38 2022 + description: Refactoring of user modules importing. Previously, user modules were compiled as as anonymous functions in a global

[HTTP/2] Why HTTP/2 do not send goaway when ngx_exiting

2022-02-21 Thread 媒体云
Hi HTTP/2 follow the keepalive config and ignore ngx_exiting, but HTTP/1 and upstream not Gao,Yan(ACG VCP) ___ nginx-devel mailing list -- nginx-devel@nginx.org To unsubscribe send an email to nginx-devel-le...@nginx.org

Re: Clients fail to connect via HTTP3 over QUIC

2022-02-21 Thread Vladimir Homutov
22.02.2022 00:43, David Hu via nginx-devel пишет: I have compiled the latest master branch of nginx-quic with these options: nginx version: nginx/1.21.7 (8861:b5c87e0e57ef) built with OpenSSL 3.0.1+quic 14 Dec 2021 TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx