From f2bf8e9051a71f03669d62fc3c54f288eb0249de Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 27 Mar 2009 00:40:19 -0700 Subject: No need to disable luserspace buffering on client socket Unicorn always uses lower-level sys{read,write} methods when doing I/O so setting "client.sync=true" is just a wasted operation. --- lib/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 24e5549..271bdab 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -465,7 +465,7 @@ module Unicorn rescue Errno::EAGAIN next end - accepted = client.sync = true + accepted = true client.nonblock = false set_client_sockopt(client) if TCPSocket === client process_client(client) -- cgit v1.2.3-24-ge0c7