[DRE-maint] Bug#996294: Change in webrick 1.7.0 is causing a problem with the tests in Ruby 2.7 (at least)

Daniel Leidert dleidert at debian.org
Sun Nov 28 03:55:49 GMT 2021


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 <dleidert at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211128/f41a90f0/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list