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? #273

Closed tinet-chenjhU closed 1 year ago

tinet-chenjhU commented 1 year ago

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