mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 13:09:04 +08:00
优化gc性能
This commit is contained in:
@@ -21,6 +21,10 @@ import (
|
||||
// 最后,感谢 github.com/pion/dtls 对golang生态做出的贡献
|
||||
|
||||
func startDtls() {
|
||||
if !base.Cfg.ServerDTLS {
|
||||
return
|
||||
}
|
||||
|
||||
certificate, err := selfsign.GenerateSelfSigned()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user