diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-11-25 05:09:36 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-11-25 05:09:36 +0000 |
commit | 2039a4c56042adf4a4af4c3180a994d8c6849db6 (patch) | |
tree | 30da41b26fc7293345ddfdfabfc8b5296831ab5f /lib/mongrel.rb | |
parent | 6f93879f86a15201dcb5de3f3f034290aea74a21 (diff) | |
download | unicorn-2039a4c56042adf4a4af4c3180a994d8c6849db6.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@419 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib/mongrel.rb')
-rw-r--r-- | lib/mongrel.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/mongrel.rb b/lib/mongrel.rb index 5d4deee..d2d66f1 100644 --- a/lib/mongrel.rb +++ b/lib/mongrel.rb @@ -123,7 +123,6 @@ module Mongrel MONGREL_VERSION="0.3.18".freeze - # TODO: this use of a base for tempfiles needs to be looked at for security problems MONGREL_TMP_BASE="mongrel".freeze # The standard empty 404 response for bad requests. Use Error4040Handler for custom stuff. @@ -191,8 +190,6 @@ module Mongrel # You don't really call this. It's made for you. # Main thing it does is hook up the params, and store any remaining # body data into the HttpRequest.body attribute. - # - # TODO: Implement tempfile removal when the request is done. def initialize(params, socket, dispatcher) @params = params @socket = socket @@ -537,8 +534,6 @@ module Mongrel # The timeout parameter is a sleep timeout (in hundredths of a second) that is placed between # socket.accept calls in order to give the server a cheap throttle time. It defaults to 0 and # actually if it is 0 then the sleep is not done at all. - # - # TODO: Find out if anyone actually uses the timeout option since it seems to cause problems on FBSD. def initialize(host, port, num_processors=(2**30-1), timeout=0) @socket = TCPServer.new(host, port) @classifier = URIClassifier.new |