Fixed
- Complete the closing handshake on server-initiated WebSocket closes in the
websockets-sansioandwsprotoimplementations, waiting for the client's close reply with a 10 second timeout instead of resetting the connection (#3053) - Add missing write flow control to the
websockets-sansioimplementation, preventing data truncation on server-initiated closes with large in-flight payloads (#3048) - Handle connection loss while a WebSocket write is waiting on backpressure (#3050)
- Remove duplicate
Content-TypeandContent-Lengthheaders from WebSocket denial responses on thewebsockets-sansioimplementation, and deliver non-UTF-8 denial bodies intact (#3041)
Full Changelog: 0.52.0...0.52.1