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
naruse d249be6233 * lib/net/http.rb (connect): detect closed connection and reconnect
If the server closes a keep-alive http connection, the client socket
  reaches EOF. To avoid an EOFError, detect the closed connection and
  reconnect.
  Added test to ensure HTTP#post succeeds even if the
  keep-alive-connection has been closed by the server.
  by Kristian Hanekamp <kris.hanekamp@gmail.com>
  https://github.com/ruby/ruby/pull/1089 fix GH-1089

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-27 14:07:35 +00:00
..
ftp * lib/net/ftp.rb (initialize): Connections are in passive mode per 2015-11-11 03:48:45 +00:00
http * lib/net/http.rb (connect): detect closed connection and reconnect 2015-11-27 14:07:35 +00:00
imap 0.1 second is not enough for FreeBSD 2015-10-24 17:36:07 +00:00
pop
protocol
smtp use assert_raise 2015-06-02 02:18:44 +00:00