about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index b4721be..57471a4 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -196,7 +196,8 @@ module Unicorn
           while alive
             begin
               client = @socket.accept
-  
+              client.sync = true
+
               if defined?($tcp_cork_opts) and $tcp_cork_opts
                 client.setsockopt(*$tcp_cork_opts) rescue nil
               end