Re: Using single persistent socket to send subrequests

2022-01-27 Thread Devashi Tandon
Hi, Was wondering if this question is more suited for the development forum, since I didn't receive any response on the user forum. Repeating the question below: I tried with clearing the connections header but NGINX is still sending the 5th response through a new source port. Let me give a

[njs] Types: added async/await support for TS files.

2022-01-27 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/403f7fe07fe8 branches: changeset: 1820:403f7fe07fe8 user: Jakub Jirutka date: Wed Jan 26 02:44:18 2022 +0100 description: Types: added async/await support for TS files. Since 0.7.0 async/await support was added. This closes #461 issue on

[njs] Tests: added support for proper negative test262 tests.

2022-01-27 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/b4998a4f82dc branches: changeset: 1821:b4998a4f82dc user: Dmitry Volyntsev date: Wed Jan 26 17:24:58 2022 + description: Tests: added support for proper negative test262 tests. diffstat: test/options | 5 + test/prepare | 3 +++

[nginx] Version bump.

2022-01-27 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/60b8f529db13 branches: changeset: 8000:60b8f529db13 user: Vladimir Homutov date: Thu Jan 27 13:44:09 2022 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Core: the ngx_event_udp.h header file.

2022-01-27 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/8206ecdcd837 branches: changeset: 8001:8206ecdcd837 user: Vladimir Homutov date: Tue Jan 25 15:41:48 2022 +0300 description: Core: the ngx_event_udp.h header file. diffstat: auto/sources | 3 ++- src/event/ngx_event.h |

[nginx] Core: added function for local source address cmsg.

2022-01-27 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/0f6cc8f73744 branches: changeset: 8003:0f6cc8f73744 user: Vladimir Homutov date: Tue Jan 25 15:48:58 2022 +0300 description: Core: added function for local source address cmsg. diffstat: src/event/ngx_event_udp.c | 92

[njs] Version bump.

2022-01-27 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/d5d9605a6c55 branches: changeset: 1818:d5d9605a6c55 user: Dmitry Volyntsev date: Tue Jan 25 19:06:58 2022 + description: Version bump. diffstat: src/njs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff

[njs] Shell: added options for custom exit failure code.

2022-01-27 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/328bb7c20642 branches: changeset: 1819:328bb7c20642 user: Dmitry Volyntsev date: Wed Jan 26 17:24:57 2022 + description: Shell: added options for custom exit failure code. diffstat: src/njs_shell.c | 19 ++- 1 files

[njs] Tests: refactored modules tests using test262 test suite.

2022-01-27 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/4d38ea471228 branches: changeset: 1822:4d38ea471228 user: Dmitry Volyntsev date: Thu Jan 27 13:01:55 2022 + description: Tests: refactored modules tests using test262 test suite. diffstat: auto/expect |

[nginx] Core: made the ngx_sendmsg() function non-static.

2022-01-27 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/cfe1284e5d1d branches: changeset: 8002:cfe1284e5d1d user: Vladimir Homutov date: Tue Jan 25 15:48:56 2022 +0300 description: Core: made the ngx_sendmsg() function non-static. The NGX_HAVE_ADDRINFO_CMSG macro is defined when at least one of

[nginx] Core: added autotest for UDP segmentation offloading.

2022-01-27 Thread Vladimir Homutov
details: https://hg.nginx.org/nginx/rev/c0a432c0301b branches: changeset: 8004:c0a432c0301b user: Vladimir Homutov date: Wed Jan 26 20:40:00 2022 +0300 description: Core: added autotest for UDP segmentation offloading. diffstat: auto/os/linux | 16

Re: request body filter last_buf

2022-01-27 Thread Maxim Dounin
Hello! On Wed, Jan 26, 2022 at 08:37:25PM -0800, Dk Jack wrote: > Thanks Maxim, > Are there any other situations where last_buf would not be set besides the > case of content-length being zero? Probably not. -- Maxim Dounin http://mdounin.ru/ ___

Re: [quic] ngx_quic_input_handler Segmentation fault because c->udp->dgram is null

2022-01-27 Thread Vladimir Homutov
On Thu, Jan 27, 2022 at 04:33:08AM +, Gao,Yan(媒体云) wrote: > > The main quic connection is created in ngx_quic_new_connection(), which > > calls ngx_quic_open_sockets() and it sets c->udp for the first time. > > > When packet arrives, c->udp is updated by ngx_lookup_udp_connection(). > > > The