diff options
Diffstat (limited to 'lib/unicorn.rb')
-rw-r--r-- | lib/unicorn.rb | 3 |
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 |