1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/net/http
naruse bee7ccddd2 * lib/net/http.rb (Net::HTTP#transport_request): retry a idempotent
request automatically. [ruby-dev:45030] [Bug #5790]
  [ruby-core:41821] [Bug #5813]

* lib/net/http.rb (Net::HTTP#keep_alive_timeout=): added to specify
  the second to reconnect the TCP connection on Keep-Alive.
  The default value is 2 second because current servers uses 2 sec.
  http://ftp-admin.blogspot.com/2009/09/keepalivetimeout2.html

* lib/net/http.rb (Net::HTTP#begin_transport): reconnect TCP
  connection on keep-alive timeout.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-20 05:56:35 +00:00
..
test_buffered_io.rb * lib/net/protocol.rb (eof?): BufferedIO should proxy eof? to the 2011-01-06 00:24:45 +00:00
test_http.rb * lib/net/http.rb (Net::HTTP#transport_request): retry a idempotent 2012-01-20 05:56:35 +00:00
test_httpheader.rb
test_httpresponse.rb
test_https.rb * test/net/http/test_http.rb (TestNetHTTP_version_1_1_methods#test_timeout_during_HTTP_session): 2011-08-01 22:35:05 +00:00
test_https_proxy.rb
utils.rb * lib/net/http.rb (Net::HTTP#transport_request): retry a idempotent 2012-01-20 05:56:35 +00:00