Package: src:http-parser
Version: 2.7.1-2
Severity: serious
Tags: sid buster
Affects: ruby-em-http-request
http-parser 2.7 breaks ruby-em-http-request's tests, breaking the package build
and the autopkg tests:
- -> /redirect/https_with_port
should keep default https port in redirect url that include it
127.0.0.1 - - [21/Nov/2017:10:04:16 UTC] "GET
/redirect/ignore_query_option?ignore=1 HTTP/1.1" 301 0
- ->
/redirect/ignore_query_option?ignore=1
should ignore query option when redirecting127.0.0.1 - - [21/Nov/2017:10:04:16
UTC] "GET /redirect/url HTTP/1.1" 200 34
- -> /redirect/url
should work with keep-alive connections with cross-origin redirect
should work with keep-alive connections with same-origin redirect
Failures:
1) EventMachine::HttpRequest should close connection on
invalid HTTP response Failure/Error: if !client.continue?
NoMethodError:
undefined method `continue?' for
nil:NilClass #
./lib/em-http/http_connection.rb:134:in `block in post_init'
# ./lib/em-http/http_connection.rb:152:in `<<'
# ./lib/em-http/http_connection.rb:152:in `receive_data'
# ./lib/em-http/http_connection.rb:23:in `receive_data'
# ./spec/client_spec.rb:865:in `block (2 levels) in <top (required)>'
Finished in 9.61 seconds (files took 1.2 seconds to load)
127 examples, 1 failure
Failed examples:
rspec ./spec/client_spec.rb:864 # EventMachine::HttpRequest
should close connection on invalid HTTP response
127.0.0.1 - - [21/Nov/2017:10:04:06 UTC] "GET
/timeout HTTP/1.1" 200 0 127.0.0.1 - - [21/Nov/2017:10:04:09 UTC]
"GET /timeout HTTP/1.1" 200 0 - -> /timeout
[2017-11-21 10:04:16] INFO going to
shutdown ... - -> /timeout
[2017-11-21 10:04:16] INFO
WEBrick::HTTPServer#start done. /usr/bin/ruby2.3
/usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed