quiche icon indicating copy to clipboard operation
quiche copied to clipboard

Nginx: the old connection cannot be processed properly after reload

Open chenyuezhou opened this issue 3 years ago • 1 comments

After reload nginx, the old fd closed, the rest of the data could not be sent properly due to Bad file descriptor.

The client's packets will be dropped by the new worker due to invalid initial packet.

chenyuezhou avatar Apr 16 '21 02:04 chenyuezhou

The new worker is created first during the reload. If only dependent on the UDP binding process mechanism provided by reuseport the old connection may be hashed to the new worker by the kernel.

chenyuezhou avatar Apr 16 '21 06:04 chenyuezhou