Files
bind9/lib/isc
Ondřej Surý 9b8d432403 Reorder the uv_close() calls to close the socket immediately
Simplify the closing code - during the loopmgr implementation, it was
discovered that the various lists used by the uv_loop_t aren't FIFO, but
LIFO.  See doc/dev/libuv.md for more details.

With this knowledge, we can close the protocol handles (uv_udp_t and
uv_tcp_t) and uv_timer_t at the same time by reordering the uv_close()
calls, and thus making sure that after calling the
isc__nm_stoplistening(), the code will not issue any additional callback
calls (accept, read) on the socket that stopped listening.

This might help with the TLS and DoH shutting down sequence as described
in the [GL #3509] as we now stop the reading, stop the timer and call
the uv_close() as earliest as possible.
2022-09-19 14:38:56 +02:00
..
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:25 +02:00
2022-03-28 15:02:18 -07:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-07-13 13:19:32 +02:00
2022-07-05 12:22:55 -07:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-07-05 12:22:55 -07:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00