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

Include Rack::TempFileReaper in Grape ? #2487

Open
ericproulx opened this issue Jul 29, 2024 · 0 comments
Open

Include Rack::TempFileReaper in Grape ? #2487

ericproulx opened this issue Jul 29, 2024 · 0 comments

Comments

@ericproulx
Copy link
Contributor

I've noticed that tempfiles created when uploading a file (Rack::Multipart) are not closed and unlink by default. Fortunately, Rack provides a middleware for it and we just need to add it

Rails includes it by design so its not an issue when using Grape through it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants