Closed notsafeforbread closed 4 years ago
Ok this is a bug all the way back in the base library, but I can't move bugs cross org so I'm closing this one. Followup at https://github.com/buttplugio/buttplug-rs/issues/153, should ship in next version coming out in a couple of hours.
After a few times closing + restarting some scripts, I noticed the Rust server would stop accepting connections if the connection was not closed gracefully too many times.
Steps to reproduce:
Run Intiface's Rust server
Run a script that connects to the server (e.g. the Python example)
Terminate that script with Ctrl+C, or otherwise end it in a non-graceful way
IntifaceCLI will display an error such as:
Continue doing this several more times.
After 5 or so attempts, the script will fail to connect to the server anymore.
The server appears to accept new connections if they are all closed gracefully, but not if they are non-graceful.
Expected behavior:
The server would continue to accept new connections.