websockets-rs / rust-websocket

A WebSocket (RFC6455) library written in Rust
http://websockets-rs.github.io/rust-websocket/
MIT License
1.55k stars 223 forks source link

How to close the connection properly? #274

Open bizarreuser opened 1 year ago

bizarreuser commented 1 year ago

When I use socket.shutdown().unwrap(); My client closed the connection normally, but my server showed java.io.EOFException: null