keep a reference of ngx_conneciton_t to the ngx_quic_path_t?

2023-09-07 Thread Yu Zhu
Hi Some function declarations contain ngx_connection_t and quic_quic_path_t: 1. ngx_int_t ngx_quic_send_new_token(ngx_connection_t *c, ngx_quic_path_t *path); 2. ngx_quic_path_limit(ngx_connection_t *c, ngx_quic_path_t *path, size_t size) 3. void ngx_quic_discover_path_mtu(ngx_conn

[PATCH 0 of 2] QUIC module compatibility issues

2023-09-07 Thread Roman Arutyunyan
QUIC module compatibility issues reported in ticket #2539 ___ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel

[PATCH 1 of 2] HTTP/3: eliminated v3_session field from ngx_http_connection_t

2023-09-07 Thread Roman Arutyunyan
# HG changeset patch # User Roman Arutyunyan # Date 1694088991 -14400 # Thu Sep 07 16:16:31 2023 +0400 # Node ID 4e312ff4b6ba742a270864b9c6ad7d0484355a7b # Parent daf8f5ba23d8e9955b22782d945f9c065f4b6baa HTTP/3: eliminated v3_session field from ngx_http_connection_t. The field was under NGX

[PATCH 2 of 2] Modules compatibility: added QUIC to signature (ticket #2539)

2023-09-07 Thread Roman Arutyunyan
# HG changeset patch # User Roman Arutyunyan # Date 1694088909 -14400 # Thu Sep 07 16:15:09 2023 +0400 # Node ID 5fc61f98315ec462ef0ff7f7b4bec03109ccc0eb # Parent 4e312ff4b6ba742a270864b9c6ad7d0484355a7b Modules compatibility: added QUIC to signature (ticket #2539). Enabling QUIC changes ng

[PATCH 0 of 8] [quic] reusing crypto contexts, and more

2023-09-07 Thread Sergey Kandaurov
This series adds reuse of crypto contexts, it should improve performance. Also, it clears out keying material where possible. Minor bugs fixed on the way. ___ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-

[PATCH 1 of 8] QUIC: split keys availability checks to read and write sides

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1693497250 -14400 # Thu Aug 31 19:54:10 2023 +0400 # Node ID be1862a28fd8575a88475215ccfce995e392dfab # Parent daf8f5ba23d8e9955b22782d945f9c065f4b6baa QUIC: split keys availability checks to read and write sides. Keys may be released by T

[PATCH 2 of 8] QUIC: added check to prevent packet output with discarded keys

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1694041352 -14400 # Thu Sep 07 03:02:32 2023 +0400 # Node ID 02c86eac80c907adb7790c79ac6892afabcee5f4 # Parent be1862a28fd8575a88475215ccfce995e392dfab QUIC: added check to prevent packet output with discarded keys. In addition to triggeri

[PATCH 3 of 8] QUIC: prevented output of ACK frame when discarding handshake keys

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1694041354 -14400 # Thu Sep 07 03:02:34 2023 +0400 # Node ID b05feba278a8b766cddd4cc35d73ff43e8d77092 # Parent 02c86eac80c907adb7790c79ac6892afabcee5f4 QUIC: prevented output of ACK frame when discarding handshake keys. Previously, ACK fra

[PATCH 4 of 8] QUIC: renamed protection functions

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1694099421 -14400 # Thu Sep 07 19:10:21 2023 +0400 # Node ID 24e5d652ecc861f0c68607d20941abbf3726fdf1 # Parent b05feba278a8b766cddd4cc35d73ff43e8d77092 QUIC: renamed protection functions. Now these functions have names ngx_quic_crypto_XXX(

[PATCH 5 of 8] QUIC: reusing crypto contexts for packet protection

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1694099424 -14400 # Thu Sep 07 19:10:24 2023 +0400 # Node ID 28f7491bc79771f9cfa882b1b5584fa48ea42e6b # Parent 24e5d652ecc861f0c68607d20941abbf3726fdf1 QUIC: reusing crypto contexts for packet protection. diff --git a/src/event/quic/ngx_ev

[PATCH 6 of 8] QUIC: reusing crypto contexts for header protection

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1694099424 -14400 # Thu Sep 07 19:10:24 2023 +0400 # Node ID cdc5b59309dbdc234c71e53fca142502884e6177 # Parent 28f7491bc79771f9cfa882b1b5584fa48ea42e6b QUIC: reusing crypto contexts for header protection. diff --git a/src/event/quic/ngx_ev

[PATCH 7 of 8] QUIC: cleaned up now unused ngx_quic_ciphers() calls

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1694099425 -14400 # Thu Sep 07 19:10:25 2023 +0400 # Node ID 8bd0104b7e6b658a1696fe7f3e2f1868ac2ae1f9 # Parent cdc5b59309dbdc234c71e53fca142502884e6177 QUIC: cleaned up now unused ngx_quic_ciphers() calls. diff --git a/src/event/quic/ngx_e

[PATCH 8 of 8] QUIC: explicitly zero out unused keying material

2023-09-07 Thread Sergey Kandaurov
# HG changeset patch # User Sergey Kandaurov # Date 1694099425 -14400 # Thu Sep 07 19:10:25 2023 +0400 # Node ID 813128cee322830435a95903993b17fb24683da7 # Parent 8bd0104b7e6b658a1696fe7f3e2f1868ac2ae1f9 QUIC: explicitly zero out unused keying material. diff --git a/src/event/quic/ngx_event

[njs] Tests: fixed incr() tests for a shared dictionary.

2023-09-07 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/5b52293ad769 branches: changeset: 2193:5b52293ad769 user: Dmitry Volyntsev date: Thu Sep 07 16:12:31 2023 -0700 description: Tests: fixed incr() tests for a shared dictionary. Previously, the incr() method called SharedDict.incr() with a NaN val

[njs] Modules: implemented items() method of a shared dictionary.

2023-09-07 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/f5428bc87159 branches: changeset: 2194:f5428bc87159 user: Dmitry Volyntsev date: Thu Sep 07 16:12:40 2023 -0700 description: Modules: implemented items() method of a shared dictionary. diffstat: nginx/ngx_js_shared_dict.c | 120 ++