listen_loop(): Delay the call to ssl_release()
authorFabian Keil <fk@fabiankeil.de>
Fri, 22 Jan 2021 12:01:35 +0000 (13:01 +0100)
committerFabian Keil <fk@fabiankeil.de>
Fri, 22 Jan 2021 13:26:26 +0000 (14:26 +0100)
commit5c2e47de8805a1a489db8215a62859fd6b7e7d55
tree2a83ae8dfec416e0ab4eb4a46da4bf488e8e3170
parente52674334610f4c2a1eb22b095c126527705f314
listen_loop(): Delay the call to ssl_release()

... and only release the TLS backend resources if there
are no active connections left.

Prevents crashes when exiting "gracefully" at the wrong time.
jcc.c