summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2024-01-05 08:51:32 -0800
committergit <svn-admin@ruby-lang.org>2024-01-05 16:51:37 +0000
commit4d03140009044096ac1903281682f357ab4acf98 (patch)
tree9230f11f51931c4240cdaa43b68bd9278621aed6 /test/ruby
parent37657c79b66994147e41f31139ceb9c0c840868f (diff)
[ruby/net-http] Don't invoke response block more than once due to retry
If a socket error occurs while performing a streaming download via the response block provided to transport_request, avoid calling the response block again as this would result in duplicate data received by the client. Fixes https://github.com/ruby/net-http/pull/86 Fixes https://github.com/ruby/net-http/pull/87 Fixes [Bug #11526] https://github.com/ruby/net-http/commit/114d01b092 Co-authored-by: Jeremy Stanley <jeremy@instructure.com>
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions