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 Fri Jan 19 12:09:37 2024
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 Fri Jan 19 16:49:50 2024
<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 Wed Feb 7 23:00:19 2024