This commit is contained in:
laodaming 2023-07-27 10:06:27 +08:00
parent 72543d519f
commit 2b30911ec6

View File

@ -49,7 +49,8 @@ var (
CheckOrigin: func(r *http.Request) bool { CheckOrigin: func(r *http.Request) bool {
return true return true
}, },
WriteBufferPool: &buffPool, WriteBufferPool: &buffPool,
EnableCompression: true,
} }
//连接map池 //连接map池
mapConnPool = sync.Map{} mapConnPool = sync.Map{}