diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-27 00:40:19 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-27 00:40:19 -0700 |
commit | f2bf8e9051a71f03669d62fc3c54f288eb0249de (patch) | |
tree | 0931fd367a3f9b817ee8c8ef9de551e24577ba91 /lib | |
parent | fdc17e1736c1d6128c29f4baba2dd86c6ef224c6 (diff) | |
download | unicorn-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.rb | 2 |
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) |