forked from github/dynamiclistener
fork to support Chinese encryption set
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. |
||
---|---|---|
cert | ||
factory | ||
server | ||
storage | ||
filter.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
listener.go | ||
redirect.go | ||
tcp.go |