bind9/lib/isc/netmgr
Ondřej Surý 684f3eb8e6 Attach/detach to the listening child socket when accepting TLS
When TLS connection (TLSstream) connection was accepted, the children
listening socket was not attached to sock->server and thus it could have
been freed before all the accepted connections were actually closed.

In turn, this would cause us to call isc_tls_free() too soon - causing
cascade errors in pending SSL_read_ex() in the accepted connections.

Properly attach and detach the children listening socket when accepting
and closing the server connections.
2024-08-07 14:17:43 +00:00
..
http.c Keep the endpoints set reference within an HTTP/2 socket 2024-06-10 16:40:12 +02:00
netmgr-int.h Drop expired but not accepted TCP connections 2024-07-03 15:03:02 +03:00
netmgr.c Remove superfluous memset() in isc_nmsocket_init() 2024-08-05 07:32:12 +00:00
proxystream.c Add memory pools for isc_nmsocket_t structures 2024-02-08 15:13:47 +01:00
proxyudp.c Add memory pools for isc_nmsocket_t structures 2024-02-08 15:13:47 +01:00
socket.c Cleanup the last Windows / MSC ifdefs and comments 2023-04-03 09:06:20 +00:00
streamdns.c Limit the number of DNS message processed from a single TCP read 2024-06-10 16:48:54 +02:00
tcp.c Drop expired but not accepted TCP connections 2024-07-03 15:03:02 +03:00
timer.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
tlsstream.c Attach/detach to the listening child socket when accepting TLS 2024-08-07 14:17:43 +00:00
udp.c Add memory pools for isc_nmsocket_t structures 2024-02-08 15:13:47 +01:00