ftw 0.0.35 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ftw/connection.rb +1 -0
- data/lib/ftw/version.rb +1 -1
- metadata +1 -1
data/lib/ftw/connection.rb
CHANGED
@@ -139,6 +139,7 @@ class FTW::Connection
|
|
139
139
|
@logger.debug("Connecting", :address => @remote_address,
|
140
140
|
:host => host, :port => port, :family => family)
|
141
141
|
@socket = Socket.new(family, Socket::SOCK_STREAM, 0)
|
142
|
+
@socket.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1)
|
142
143
|
|
143
144
|
# This api is terrible. pack_sockaddr_in? This isn't C, man...
|
144
145
|
@logger.debug("packing", :data => [port.to_i, @remote_address])
|
data/lib/ftw/version.rb
CHANGED