* lib/net/http.rb (Net::HTTP#connect): disable Nagle's algorithm on
HTTP connection. [ruby-core:56158] [Feature #8681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6be6666fba
commit
67d05682b0
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jul 25 17:53:18 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/net/http.rb (Net::HTTP#connect): disable Nagle's algorithm on
|
||||||
|
HTTP connection. [ruby-core:56158] [Feature #8681]
|
||||||
|
|
||||||
Thu Jul 25 17:49:42 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
Thu Jul 25 17:49:42 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* re.c (rb_reg_to_s): convert closing parenthes to the target encoding
|
* re.c (rb_reg_to_s): convert closing parenthes to the target encoding
|
||||||
|
@ -877,6 +877,7 @@ module Net #:nodoc:
|
|||||||
s = Timeout.timeout(@open_timeout, Net::OpenTimeout) {
|
s = Timeout.timeout(@open_timeout, Net::OpenTimeout) {
|
||||||
TCPSocket.open(conn_address, conn_port, @local_host, @local_port)
|
TCPSocket.open(conn_address, conn_port, @local_host, @local_port)
|
||||||
}
|
}
|
||||||
|
s.setsockopt(IPPROTO_TCP, TCP_NODELAY, 1)
|
||||||
D "opened"
|
D "opened"
|
||||||
if use_ssl?
|
if use_ssl?
|
||||||
ssl_parameters = Hash.new
|
ssl_parameters = Hash.new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user