Page MenuHomePhorge

D15451.1768442940.diff
No OneTemporary

Size
738 B
Referenced Files
None
Subscribers
None

D15451.1768442940.diff

diff --git a/services/tunnelbroker/src/websockets/session.rs b/services/tunnelbroker/src/websockets/session.rs
--- a/services/tunnelbroker/src/websockets/session.rs
+++ b/services/tunnelbroker/src/websockets/session.rs
@@ -534,11 +534,13 @@
}
fn should_ignore_error(err: &hyper_tungstenite::tungstenite::Error) -> bool {
+ use hyper_tungstenite::tungstenite::error::ProtocolError;
use hyper_tungstenite::tungstenite::Error as E;
use std::io::ErrorKind;
match err {
E::ConnectionClosed | E::AlreadyClosed => true,
+ E::Protocol(ProtocolError::SendAfterClosing) => true,
E::Io(io_error) => match io_error.kind() {
// The operation failed because a pipe was closed.
ErrorKind::BrokenPipe => true,

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 15, 2:09 AM (10 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5935317
Default Alt Text
D15451.1768442940.diff (738 B)

Event Timeline