Skip to content

4.92.3 - Fix issue when client disconnects midway through a stream

Compare
Choose a tag to compare
@penny-for-vapor penny-for-vapor released this 14 Feb 11:35
· 28 commits to main since this release
9da9d14

What's Changed

Fix issue when client disconnects midway through a stream by @0xTim in #3102

Fixes an issue when a client disconnects mid way through streaming a request in a Swift concurrency context. In certain cases this would trigger a de-init off the event loop, leading to a crash.

This fixes the issue by using a lock instead of a loop bound wrapper

Reviewers

Thanks to the reviewers for their help:

This patch was released by @0xTim

Full Changelog: 4.92.2...4.92.3