1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/net
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
..
.document * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname() 2004-06-24 23:10:55 +00:00
ftp.rb * ext/pathname/lib/pathname.rb, ext/tk/lib/multi-tk.rb, 2011-11-05 07:37:47 +00:00
http.rb * lib/net/http.rb (Net::HTTP#transport_request): retry a idempotent 2012-01-20 05:56:35 +00:00
https.rb * lib/net/http.rb: improve rdoc. 2010-12-01 15:07:35 +00:00
imap.rb * lib/net/imap.rb: includes the sequence number of UID in a error 2011-12-11 03:21:43 +00:00
pop.rb * lib/net/pop.rb: fix typo in document. 2011-08-10 12:28:19 +00:00
protocol.rb * lib/net/http.rb, lib/net/protocol.rb: Allow to configure to wait 2011-05-31 08:10:42 +00:00
smtp.rb * ext/pathname/lib/pathname.rb, ext/tk/lib/multi-tk.rb, 2011-11-05 07:37:47 +00:00
telnet.rb * lib: revert r31635-r31638 and untabify with expand(1). 2011-05-19 00:07:25 +00:00