ruby-changes:30117
From: naruse <ko1@a...>
Date: Thu, 25 Jul 2013 18:33:23 +0900 (JST)
Subject: [ruby-changes:30117] naruse:r42169 (trunk): fix r42168; Add class name to constants
naruse 2013-07-25 18:33:12 +0900 (Thu, 25 Jul 2013) New Revision: 42169 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42169 Log: fix r42168; Add class name to constants [ruby-core:56158] [Feature #8681] Modified files: trunk/lib/net/http.rb Index: lib/net/http.rb =================================================================== --- lib/net/http.rb (revision 42168) +++ lib/net/http.rb (revision 42169) @@ -877,7 +877,7 @@ module Net #:nodoc: https://github.com/ruby/ruby/blob/trunk/lib/net/http.rb#L877 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/