Since lock_ssl_cert() is a reader lock, there shouldn't be a whole
lot of contention on aquiring it anyway, and we can thundering herd
our way out of it when it clears.
From Deuc╨╡ to Git commit to main/sbbs/master on Friday, January 19, 2024 12:09:37
With this, it's not strictly necessary to clear cert_list in ssl_sync()
when the certificate changes, but it's still a good idea to prevent
unusable memory from being held onto.
From Deuc╨╡ to Git commit to main/sbbs/master on Friday, January 19, 2024 16:49:50
<Deuce> Feel free to not lock the mutex and never free/NULLify that string. <Deuce> Should be nicer for people with separate logs, and a few bytes never hurt anyone.
From Deuc╨╡ to Git commit to main/sbbs/master on Wednesday, February 07, 2024 23:00:19