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

Rack parse_multipart problems using Ramaze and Mongrel #24

Open
jgilles opened this issue Apr 20, 2011 · 0 comments
Open

Rack parse_multipart problems using Ramaze and Mongrel #24

jgilles opened this issue Apr 20, 2011 · 0 comments

Comments

@jgilles
Copy link

jgilles commented Apr 20, 2011

I submitted this issue first to Rack, was redirected to Ramaze, now I'm submitting here it because I only see the issue when using Ramaze + Rack + Mongrel and not with webrick.

Basically when running Ramaze in :live mode (which doesn't use Rack::Lint), attachments in multipart data get parsed over and over and this creates numerous temporary files and sometimes returns the wrong filename in the Ramaze controller. If Ramaze is run in :dev mode (Rack::Lint enabled), everything works as expected. This appears to only be the case when using Ramaze with Mongrel and not with other webservers (at least not webrick).

Environment:
Ubuntu 10.10
Ruby 1.9.2p0
Mongrel 1.2.0pre2
Rack 1.2.1
Ramaze 2011.01.30 + Innate 2011.01

Please see the Ramaze issue for full description, history, and a test case:
Ramaze/ramaze#5

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

No branches or pull requests

1 participant