From 044e75db6d810dece06d8a7921aae18a6024faa8 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 25 Jul 2013 09:33:12 +0000 Subject: fix r42168; Add class name to constants [ruby-core:56158] [Feature #8681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/net/http.rb') diff --git a/lib/net/http.rb b/lib/net/http.rb index a179dcf348..44c123b0e3 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -877,7 +877,7 @@ module Net #:nodoc: s = Timeout.timeout(@open_timeout, Net::OpenTimeout) { TCPSocket.open(conn_address, conn_port, @local_host, @local_port) } - s.setsockopt(IPPROTO_TCP, TCP_NODELAY, 1) + s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) D "opened" if use_ssl? ssl_parameters = Hash.new -- cgit v1.2.3