Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33070672
D15451.1768442942.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
738 B
Referenced Files
None
Subscribers
None
D15451.1768442942.diff
View Options
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
Details
Attached
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.1768442942.diff (738 B)
Attached To
Mode
D15451: [tunnelbroker] ignore `SendAfterClosing` error
Attached
Detach File
Event Timeline
Log In to Comment