mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
prevent writing response to websocket connections (#457)
This commit is contained in:
@@ -51,7 +51,7 @@ func serverStream(c *gin.Context) (any, error) {
|
||||
}
|
||||
time.Sleep(time.Second * 2)
|
||||
}
|
||||
return nil, nil
|
||||
return nil, newWsError("")
|
||||
}
|
||||
|
||||
var requestGroup singleflight.Group
|
||||
|
||||
Reference in New Issue
Block a user