I did some debugging on the issue reported that the tests fail after adding
ruby-webrick 1.7.0 to b-d for Ruby 3.0.

The problem is in parse_header() (lib/httpclient/session.rb) in the line

828             line = socket.gets("\n")

With webrick 1.7.0 it stalls here. This is caused by this small change in
webrick:

https://github.com/ruby/webrick/commit/069e9b1908aad3a30a0dcf67b6d3bb13c3216d2c

If I revert this, the tests no longer timeout and succeed under Ruby 2.7.

Regards, Daniel
-- 
Regards,
Daniel Leidert <dleid...@debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to