about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-27 17:25:24 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-27 17:25:24 -0700
commit9509f414a88281c93f0a1cb28123b8ae7538ee7f (patch)
tree172d5c44826c8030136b2c807660e427615dd30e
parentacd836c9a7318ee6f72675a327ab7d6c27df2d60 (diff)
downloadunicorn-9509f414a88281c93f0a1cb28123b8ae7538ee7f.tar.gz
-rw-r--r--lib/unicorn/http_request.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/unicorn/http_request.rb b/lib/unicorn/http_request.rb
index 7106f62..7d69943 100644
--- a/lib/unicorn/http_request.rb
+++ b/lib/unicorn/http_request.rb
@@ -67,8 +67,7 @@ module Unicorn
       # an Exception thrown from the @parser will throw us out of the loop
       loop do
         data << read_socket(socket)
-        @parser.execute(@params, data) and
-            return handle_body(socket)
+        @parser.execute(@params, data) and return handle_body(socket)
       end
       rescue HttpParserError => e
         @logger.error "HTTP parse error, malformed request " \