vapor/vapor

Streaming request crash

grahamburgsma opened this issue · 0 comments

Describe the bug

Streaming request body causes a crash.

To Reproduce

Include the following code in a request handler:

for try await buffer in req.body {
    print(buffer)
}

Environment

  • Vapor Framework version: 4.84.6 (also happens with 4.84.3)
  • Swift version: Swift 5.9

Additional context

Briefly discussed on Discord.