summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-25 09:33:12 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-25 09:33:12 +0000
commit044e75db6d810dece06d8a7921aae18a6024faa8 (patch)
tree9a19952752c5775cce80244f371a425fa3bbf66a /lib
parent67d05682b0f4650d34ce5da81f8c89077a78c6ba (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
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