about summary refs log tree commit homepage
path: root/lib/rainbows/http_server.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-09 21:44:43 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-09 21:45:42 +0000
commitd65fb5896d4c9d019b31834c131b5fb0306ba10e (patch)
treeba23018a23d9eec6c938614f630622404cffd2a3 /lib/rainbows/http_server.rb
parent3b4fa90bee97d2346644db004c37db5cb29cd9cf (diff)
downloadrainbows-d65fb5896d4c9d019b31834c131b5fb0306ba10e.tar.gz
duh!
Diffstat (limited to 'lib/rainbows/http_server.rb')
-rw-r--r--lib/rainbows/http_server.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb
index d009e50..3a30915 100644
--- a/lib/rainbows/http_server.rb
+++ b/lib/rainbows/http_server.rb
@@ -33,10 +33,8 @@ module Rainbows
     # connection we accept without wasting cycles.  That added to the
     # fact that we let clients keep idle connections open for long
     # periods of time means we have to chmod at a fixed interval.
-    alias_method :set_timeout, :timeout=
-    undef_method :timeout=
     def timeout=(nr)
-      set_timeout(nr + 1)
+      super(nr + 1)
     end
     #:startdoc: