Hey Zed,
On 3/15/07, Zed A. Shaw <[EMAIL PROTECTED]> wrote:
> On Wed, 14 Mar 2007 11:23:41 -0400
> Matt Zukowski <[EMAIL PROTECTED]> wrote:
> Sorry Matt, I've been travelling a lot lately and missed this.
>
> > !!!!!! UNHANDLED EXCEPTION! closed stream. TELL ZED HE'S A MORON.
>
> It says tell ZED not the mongrel-users mailing list. :-)
>
> Anyway, the exception is a weird one since it's saying that you've
> opened this port and then it's closed right away. You'll have to give
> me sample code and the platform information so I can replicate it
> better. I'm thinking it might be something strange about this platform
> when a client closes right at the accept point.
Was there any follow-up here? Anyways, I've got the same problem as
Matt. My OS is FreeBSD (6.2-RELEASE); the problem happens with and
without accf_http loaded; below is a minimal test script to reproduce
the problem and a sample of the log output. Be sure to kill the
process shortly after starting it, or you'll fill the partition where
the log is written.
- Dimitri
--- begin script "test.rb" ---
#!/usr/bin/env ruby
require 'mongrel'
$mongrel_debug_client = true
Mongrel::Configurator.new do
listener do
uri "/", :handler => Mongrel::DirHandler.new(".")
end
daemonize( :cwd => "/tmp", :log_file => "/tmp/test.log" )
run
end.join
--- end script "test.rb" ---
--- begin log ---
!!!!!! UNHANDLED EXCEPTION! closed stream. TELL ZED HE'S A MORON.
~/.gems/gems/mongrel-1.0.1/lib/mongrel.rb:723:in `accept'
~/.gems/gems/mongrel-1.0.1/lib/mongrel.rb:723:in `run'
~/.gems/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `initialize'
~/.gems/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `new'
~/.gems/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `run'
~/.gems/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in `run'
~/.gems/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `each'
~/.gems/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `run'
./test.rb:12:in `cloaker_'
~/.gems/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in `call'
~/.gems/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in `initialize'
./test.rb:7:in `new'
./test.rb:7
--- end log ---
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users