Skip to content

Commit

Permalink
Remove so_linger
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Sep 24, 2012
1 parent 2321c26 commit 21fc8ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/moped/sockets/connectable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def connect(host, port, timeout)
Timeout::timeout(timeout) do
sock = new(host, port)
sock.set_encoding('binary')
sock.setsockopt(Socket::Option.linger(false, 0))
sock.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
sock
end
Expand Down

0 comments on commit 21fc8ae

Please sign in to comment.