github vapor/vapor 4.92.3
4.92.3 - Fix issue when client disconnects midway through a stream

latest releases: 4.106.3, 4.106.2, 4.106.1...
9 months ago

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

Don't miss a new vapor release

NewReleases is sending notifications on new releases.