You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very new to Rust, so my code could be improved. It's just a proposal to avoid hangs.
best regards
The text was updated successfully, but these errors were encountered:
mirandole
changed the title
set timeout proposal on websocket connection
(to close or delete wrong: proposal) set timeout proposal on websocket connection
Oct 22, 2024
mirandole
changed the title
(to close or delete wrong: proposal) set timeout proposal on websocket connection
(to close or delete : wrong proposal) set timeout proposal on websocket connection
Oct 22, 2024
EDIT : This lead to blocking connection and can generate more issues than it solves
Hello,
To avoid the websocket to hang when something got wrong on the connection, I propose to set a timeout to the TCPStream:
I'm very new to Rust, so my code could be improved. It's just a proposal to avoid hangs.
best regards
The text was updated successfully, but these errors were encountered: