Skip to content

Commit b0b2d21

Browse files
committed
silence more innocent websocket errors
fixes #676 Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 46d1577 commit b0b2d21

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/connection.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ pub async fn handle_user_socket(
226226
// hack while warp only has opaque error types
227227
match formatted.as_str() {
228228
"WebSocket protocol error: Connection reset without closing handshake"
229+
| "Broken pipe (os error 32)"
229230
| "IO error: Connection reset by peer (os error 104)" => {
230231
log::debug!("websocket error: {e:#}")
231232
}

0 commit comments

Comments
 (0)