forked from github/dynamiclistener
fb66484384a815e6d469cb834ae9b27582e5d551
Don't assert that all connections are wrapped, as they won't be if the CloseConnOnCertChange setting is false. Only run the assertion within a conditional for wrapped connections, where it is safe. This prevents a panic from happening when CloseConnOnCertChange is not used.
Description
fork to support Chinese encryption set
Languages
Go
100%