about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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: