[Mongrel] SVN revision 218: errors and failures under win32.

2006-05-30 Thread Luis Lavena
Zed: 1) Error: test_more_web_server(HandlersTest): EOFError: end of file reached I solved this changing the following lines in test_handlers.rb:75-76 res = hit([ "http://127.0.0.1:9998/";, "http://127.0.0.1:9998/test";, I cannot solve the other failures: 1) Failure: test_heade

Re: [Mongrel] Patch : Rails, ActionController::Base.allow_concurrency and mongrel

2006-05-30 Thread Zed Shaw
On Mon, 2006-05-29 at 12:06 -0700, James Moore wrote: > Any thought for having a preforking mongrel, with a few features like > min_servers, max_servers, min_spare_servers, etc? > > - James Pre-forking is not reliable under ruby for some odd reason. I had this running with SCGI, but when the IO

Re: [Mongrel] Mongrel Bug

2006-05-30 Thread Zed Shaw
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

[Mongrel] Mongrel Secure Download Handler

2006-05-30 Thread Josh Ferguson
I just released a mongrel secure download handler on rubyforge. It's a way to have mongrel stream files to the user without linking them directly to the file using a time-based token authorization scheme. Here is a more detailed description:  This handler addresses the problem of having a fast

Re: [Mongrel] x-sendfile

2006-05-30 Thread zedshaw
> I wrote an x-sendfile thing for the railshandler to get mongrel to catch > the response header and stream out files from an application I'm writing > but I'm pretty sure that zed said he'd built in x-sendfile somewhere > already. I couldn't find it, could someone lead me to it? > > Does mongrel w

[Mongrel] x-sendfile

2006-05-30 Thread Josh Ferguson
I wrote an x-sendfile thing for the railshandler to get mongrel to catch the response header and stream out files from an application I'm writing but I'm pretty sure that zed said he'd built in x-sendfile somewhere already. I couldn't find it, could someone lead me to it? Does mongrel work with

Re: [Mongrel] Getting /etc/mongrel_cluster and startup script to work?

2006-05-30 Thread Austin Godber
Alison Rowland wrote: > Hi, > > I'm trying to setup my mongrel clusters to start on boot. I have > followed the instructions under the "On Boot Initialization Setup" > section at http://mongrel.rubyforge.org/docs/mongrel_cluster.html. > > When I try to start it up, I get the following error:

[Mongrel] Getting /etc/mongrel_cluster and startup script to work?

2006-05-30 Thread Alison Rowland
Hi, I'm trying to setup my mongrel clusters to start on boot. I have followed the instructions under the "On Boot Initialization Setup" section at http://mongrel.rubyforge.org/docs/mongrel_cluster.html. When I try to start it up, I get the following error: [EMAIL PROTECTED]: sudo /etc/init.d

[Mongrel] Error in mongrel_rails script with Cygwin/Mongrel/Rails

2006-05-30 Thread [EMAIL PROTECTED]
Hi, I am experiencing an error in the mongrel_rails script on a pc under cygwin/mongrel/rails. My installation details and error are as follows: With some guidance from various blogposts out there, I installed Cygwin on a Windows XP box followed by: Ruby 1.8.4(via cygwin setup), Gems (0.8.1 via r

Re: [Mongrel] Mongrel Bug

2006-05-30 Thread Luis Lavena
On 5/30/06, Josh Ferguson <[EMAIL PROTECTED]> 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