Re: [QUIC] When old worker listen fd detach ebpf reuseport group when reload

2021-03-09 Thread Vladimir Homutov
10.03.2021 06:17, Gao,Yan(ACG VCP) пишет: Hello Vladimir Homutov, I'm not sure I understand what you are trying to do. Do you have some issues with existing quic implementations in nginx? I just want to know how nginx handle old and new quic connections when reload. Nginx keep quic

Re: [QUIC] When old worker listen fd detach ebpf reuseport group when reload

2021-03-09 Thread Gao,Yan(ACG VCP)
I test nginx-quic with ngtcp2: ~/ngtcp2/examples/client 127.0.0.1 443 https://example.com:443/index.html --dcid=1a812bf8290b2bd5 And same dcid not always hash to same worker,as access.log: 127.0.0.1 - - [10/Mar/2021:14:04:00 +0800] "GET /index.html HTTP/3.0" 200 788 "-" "nghttp3/ngtcp2 client"

Re: [QUIC] When old worker listen fd detach ebpf reuseport group when reload

2021-03-09 Thread Gao,Yan(ACG VCP)
Hello Vladimir Homutov, >I'm not sure I understand what you are trying to do. >Do you have some issues with existing quic implementations in nginx? I just want to know how nginx handle old and new quic connections when reload. Nginx keep quic connections open when reload to complete old

Re: [QUIC] When old worker listen fd detach ebpf reuseport group when reload?

2021-03-09 Thread Vladimir Homutov
09.03.2021 17:43, Gao,Yan(ACG VCP) пишет: We cannot close quic fd to let old session complete when reload. Can detach ebpf reuseport group manually when ngx_close_listening_sockets? Hello Gao,Yan, I'm not sure I understand what you are trying to do. Do you have some issues with existing quic

Re: Is ngx_quic_select_socket_by_dcid good when len < 20 ?

2021-03-09 Thread Vladimir Homutov
09.03.2021 10:13, Gao,Yan(ACG VCP) пишет: ngx_quic_select_socket_by_dcid     advance_data(sizeof(struct udphdr)); /* skip UDP header */     advance_data(1); /* QUIC flags */     if (data[0] & NGX_QUIC_PKT_LONG) {     advance_data(4); /* skip QUIC version */     len = data[0];  

[nginx] release-1.19.8 tag

2021-03-09 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/34e76ceabcec branches: changeset: 7799:34e76ceabcec user: Maxim Dounin date: Tue Mar 09 18:27:51 2021 +0300 description: release-1.19.8 tag diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff

[nginx] nginx-1.19.8-RELEASE

2021-03-09 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/8c65d21464aa branches: changeset: 7798:8c65d21464aa user: Maxim Dounin date: Tue Mar 09 18:27:50 2021 +0300 description: nginx-1.19.8-RELEASE diffstat: docs/xml/nginx/changes.xml | 62 ++ 1 files

[nginx] Updated OpenSSL used for win32 builds.

2021-03-09 Thread Maxim Dounin
details: https://hg.nginx.org/nginx/rev/a555ff8fdbb0 branches: changeset: 7797:a555ff8fdbb0 user: Maxim Dounin date: Tue Mar 09 16:38:55 2021 +0300 description: Updated OpenSSL used for win32 builds. diffstat: misc/GNUmakefile | 2 +- 1 files changed, 1 insertions(+), 1

[QUIC] When old worker listen fd detach ebpf reuseport group when reload?

2021-03-09 Thread Gao,Yan(ACG VCP)
We cannot close quic fd to let old session complete when reload. Can detach ebpf reuseport group manually when ngx_close_listening_sockets? Linxu kernel commit e57892f50a07953053dcb1e0c9431197e569c258 Merge: bfdfa51702de 0ab5539f8584 Author: Alexei Starovoitov Date: Fri Jul 17 20:18:18 2020

[njs] Added tag 0.5.2 for changeset e5de01378b1a

2021-03-09 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/e8bb829af224 branches: changeset: 1620:e8bb829af224 user: Dmitry Volyntsev date: Tue Mar 09 13:28:31 2021 + description: Added tag 0.5.2 for changeset e5de01378b1a diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)

[njs] Version 0.5.2.

2021-03-09 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/e5de01378b1a branches: changeset: 1619:e5de01378b1a user: Dmitry Volyntsev date: Tue Mar 09 13:24:51 2021 + description: Version 0.5.2. diffstat: CHANGES | 24 1 files changed, 24 insertions(+), 0 deletions(-)

[njs] Types: updated TS definitions.

2021-03-09 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/715e1eeb9a4d branches: changeset: 1618:715e1eeb9a4d user: Dmitry Volyntsev date: Tue Mar 09 13:24:06 2021 + description: Types: updated TS definitions. diffstat: test/ts/test.ts | 6 + ts/ngx_http_js_module.d.ts | 35