about summary refs log tree commit homepage
path: root/lib/unicorn.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-06 15:43:17 -0800
committerEric Wong <normalperson@yhbt.net>2009-02-09 19:50:55 -0800
commitf07a1c59be7f7b41bf3216f6e67add05d0f04d02 (patch)
tree7be546a70dfd455c83b6ae5ec577bc7d628d294a /lib/unicorn.rb
parent25bbb88bcc16c1c0a10efc99472b05e9f6b45861 (diff)
downloadunicorn-f07a1c59be7f7b41bf3216f6e67add05d0f04d02.tar.gz
HttpRequest#reset! => HttpRequest#reset
Keep this somewhat consistent with the HttpParser API
which also exposes #reset instead of #reset!
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r--lib/unicorn.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index af99474..43e2db7 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -152,7 +152,7 @@ module Unicorn
           logger.error "Client error: #{e.inspect}"
           logger.error e.backtrace.join("\n")
         end
-        @request.reset!
+        @request.reset
       end
     end