The accepted connections in TLSstream don't attach to server socket
The isc_tls_t *
(SSL *
) in disguise is created for each child listening socket. Because the accepted connections didn't attach to it (sock->server
), the child socket could be destroyed before all the accepted connections were torn down causing ThreadSanitizer warning in OpenSSL library.