minghuaw / toy-rpc

An async RPC in rust-lang that mimics golang's net/rpc
29 stars 2 forks source link

[Bug] WebSocket close handshake incomplete #21

Closed minghuaw closed 3 years ago

minghuaw commented 3 years ago

The WebSocket connection is simply dropped by the client upon closing. A proper closing handshake should be performed.

  1. Client sending Close frame
  2. Server respond with a Close frame
  3. Client and Server drop the connection
minghuaw commented 3 years ago

The handshake is fixed and will be released as 0.8.0