ftw 0.0.35 → 0.0.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -3,5 +3,5 @@ require "ftw/namespace"
3
3
  # :nodoc:
4
4
  module FTW
5
5
  # The version of this library
6
- VERSION = "0.0.35"
6
+ VERSION = "0.0.36"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35
4
+ version: 0.0.36
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: