github vapor/vapor 4.86.2
4.86.2 - Make Async Request Body actually work

latest releases: 4.101.3, 4.101.2, 4.101.1...
7 months ago

What's Changed

Make Async Request Body actually work by @0xTim in #3096

The existing implementation of adding an AsyncSequence to Request.Body had two issues:

  • it didn’t ensure code was being called from the correct event loop which broke Sendable guarantees and was unsafe
  • it would hit a precondition failure in the implementation if backpressure was triggered because the initial state was not accounted for

This fixes that

Reviewers

Thanks to the reviewers for their help:

This patch was released by @0xTim

Full Changelog: 4.86.1...4.86.2

Don't miss a new vapor release

NewReleases is sending notifications on new releases.