Welcome! Log In Create A New Profile

Advanced

udp reuseport when reload/restart

September 22, 2020 12:36AM
How to handle udp/quic logical connection with reuseport when reload/restart. For tcp, old worker can only handle old established connection, and do not accept new connection ever.
It is possible with BPF? Although it is not good solution


PS, why do not add conn after accept when using epoll?

if (ngx_add_conn && (ngx_event_flags & NGX_USE_EPOLL_EVENT) == 0) {
if (ngx_add_conn(c) == NGX_ERROR) {
ngx_close_accepted_connection(c);
return;
}
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

udp reuseport when reload/restart

gaoyan09 574 September 22, 2020 12:36AM

Re: udp reuseport when reload/restart

Sergey Kandaurov 254 September 22, 2020 07:06AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 147
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready