Priority: P3: Somewhat important
Affects Version/s: 5.14.0
Fix Version/s: None
I've first used the Echo Client & Server example , but it also happens when the client example is run against an official server like .
When close() is called in the client, it leads to:
1. Client: WebSocket Connection Close [FIN]
2. Client: TCP FIN
3. Server: WebSocket Connection Close [FIN]
4. Client: TCP RST
Expected: The websocket as well as the TCP connection are shut down properly.