Simon Frei 1f4fde9525
chore(protocol): prioritize closing a connection (#9711)
The read/write loops may keep going for a while on a closing connection
with lots of read/write activity, as it's random which select case is
chosen. And if the connection is slow or even broken, a single
read/write
can take a long time/until timeout. Add initial non-blocking selects
with only the cases relevant to closing, to prioritize those.
2024-09-15 21:13:56 +02:00
..
2024-08-10 12:58:20 +01:00
2024-08-10 12:58:20 +01:00
2024-08-10 12:58:20 +01:00
2024-08-10 12:58:20 +01:00
2023-08-21 19:44:33 +02:00
2023-08-21 19:44:33 +02:00