mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-08 03:00:27 +08:00
实现请求连接数等限制
This commit is contained in:
@@ -11,7 +11,7 @@ func isClientConnClosed(conn net.Conn) bool {
|
||||
if conn == nil {
|
||||
return true
|
||||
}
|
||||
clientConn, ok := conn.(ClientConnCloser)
|
||||
clientConn, ok := conn.(ClientConnInterface)
|
||||
if ok {
|
||||
return clientConn.IsClosed()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user