diff --git a/cmd/circologd/http_log.go b/cmd/circologd/http_log.go index bdb63c8..1678e87 100644 --- a/cmd/circologd/http_log.go +++ b/cmd/circologd/http_log.go @@ -157,6 +157,7 @@ func getWSHandler(hub circolog.Hub) http.HandlerFunc { for { _, _, err := conn.ReadMessage() if err != nil { + conn.Close() return } }