about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-27 00:40:19 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-27 00:40:19 -0700
commitf2bf8e9051a71f03669d62fc3c54f288eb0249de (patch)
tree0931fd367a3f9b817ee8c8ef9de551e24577ba91 /lib
parentfdc17e1736c1d6128c29f4baba2dd86c6ef224c6 (diff)
downloadunicorn-f2bf8e9051a71f03669d62fc3c54f288eb0249de.tar.gz
Unicorn always uses lower-level sys{read,write} methods
when doing I/O so setting "client.sync=true" is just
a wasted operation.
Diffstat (limited to 'lib')
-rw-r--r--lib/unicorn.rb2
1 files changed, 1 insertions, 1 deletions
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)