Joyit hace 1 semana
padre
commit
e26b9d7ae1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      conn/ws2/ws2.go

+ 1 - 0
conn/ws2/ws2.go

@@ -94,6 +94,7 @@ func Server(cf *config.Config, bind string, path string, hash string, fn conn.Se
 			_, div, err = conn.ReadMessage()
 			if err != nil {
 				log.Println("[ws2 Server ReadFull ERROR]", err)
+				conn.Close()
 				return
 			}
 		}