Rack parse_multipart problems using Ramaze and Mongrel #24

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

1 participant

@jgilles

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