cloudflare / quiche

🥧 Savoury implementation of the QUIC transport protocol and HTTP/3
https://docs.quic.tech/quiche/
BSD 2-Clause "Simplified" License
9.29k stars 697 forks source link

quiche reload #1276

Open yfming opened 2 years ago

yfming commented 2 years ago

how quiche handle old and new quic connections when reload. when reload, if quiche can keep quic connections open to complete old connections. and if new connections can not still be handled by old workers.

wangfuyu commented 1 year ago

how quiche handle old and new quic connections when reload. when reload, if quiche can keep quic connections open to complete old connections. and if new connections can not still be handled by old workers.

According to the current code, nginx + quiche can not process quic connections correctly when reload, because nginx + quiche lookup udp connection from local rbtree only.

You can check functions: ngx_event_recvmsg-->ngx_lookup_udp_connection.