Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming request crash #3088

Closed
grahamburgsma opened this issue Oct 18, 2023 · 0 comments · Fixed by #3096
Closed

Streaming request crash #3088

grahamburgsma opened this issue Oct 18, 2023 · 0 comments · Fixed by #3096
Labels
bug Something isn't working

Comments

@grahamburgsma
Copy link
Contributor

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.

@grahamburgsma grahamburgsma added the bug Something isn't working label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant