mirror of
https://github.com/fiatjaf/khatru.git
synced 2025-04-06 19:09:00 +02:00
do not log on normal websocket close.
This commit is contained in:
parent
5db3b5fb8b
commit
591b49fe73
@ -75,6 +75,7 @@ func (rl *Relay) HandleWebsocket(w http.ResponseWriter, r *http.Request) {
|
||||
if err != nil {
|
||||
if websocket.IsUnexpectedCloseError(
|
||||
err,
|
||||
websocket.CloseNormalClosure, // 1000
|
||||
websocket.CloseGoingAway, // 1001
|
||||
websocket.CloseNoStatusReceived, // 1005
|
||||
websocket.CloseAbnormalClosure, // 1006
|
||||
|
Loading…
x
Reference in New Issue
Block a user