0.52.1
Version 0.52.1
Fixed 4
- Complete the closing handshake on server-initiated WebSocket closes in the websockets-sansio and wsproto implementations, waiting for the client's close reply with a 10 second timeout instead of resetting the connection
- Add missing write flow control to the websockets-sansio implementation, preventing data truncation on server-initiated closes with large in-flight payloads
- Handle connection loss while a WebSocket write is waiting on backpressure
- Remove duplicate Content-Type and Content-Length headers from WebSocket denial responses on the websockets-sansio implementation, and deliver non-UTF-8 denial bodies intact
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: https://github.com/Kludex/uvicorn/compare/0.52.0...0.52.1