summaryrefslogtreecommitdiff
path: root/GPL
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-27 14:07:35 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-27 14:07:35 +0000
commitd249be623375e2725e1e3a979d7d47e45d356265 (patch)
tree036582b4735840126daafde1a719e246dc38b075 /GPL
parent6c0cf1848e54ef726b7a66b1135abf0581bc59ba (diff)
* 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
Diffstat (limited to 'GPL')
0 files changed, 0 insertions, 0 deletions