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
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to