On Tue, 2006-05-30 at 01:33 -0400, Josh Ferguson wrote:
> Mongrel's tempfile generation on win32 is broken meaning large files
> can't be uploaded.
> 
> On line 198 of mongrel.rb (0.13.3) HttpRequest#initialize the tempfile
> function is called:
> 
>       if clen > Const::MAX_BODY
>         @body = Tempfile.new(self.class.name)
>         @body.binmode

Looks like the way tempfiles are made is pretty irregular.  I just fixed
this under win32 using cygwin.  When I get the regular ruby one-click
installed i'll test it there.  Also fixed up a few other annoying things
related to win32.

Anyway, I'll be pumping out a release later tonight that will include a
win32 gem as well.  Stay tuned and be ready to test.

Zed

_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to