Package: ruby-httpclient / 2.3.3-3.1

Metadata

Package Version Patches format
ruby-httpclient 2.3.3-3.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Remove Hash element order dependency.patch | (download)

test/helper.rb | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] remove hash element order dependency

For 1.8.7 and Rubinius.

fix port allocation in tests.patch | (download)

test/helper.rb | 2 1 + 1 - 0 !
test/test_auth.rb | 4 2 + 2 - 0 !
test/test_http-access2.rb | 2 1 + 1 - 0 !
test/test_httpclient.rb | 2 1 + 1 - 0 !
test/test_ssl.rb | 2 1 + 1 - 0 !
5 files changed, 6 insertions(+), 6 deletions(-)

 fix port allocation on test suite
 For some reason, when running the test suite under sbuild, several tests crash
 with an error of `Errno::EADDRINUSE: Address already in use - listen(2)`. The
 tests just work when building outside of sbuild.
 .
 Somehow, passing :Port => 0 seems to be making WEBrick allocate the same port
 over and over. I couldn't reproduce this interactively.
 .
 This patch fixes the issue by assigning explict port numbers to servers and
 proxy servers created in the test suite, and is most probably Debian-specific.
0003 fix ssl config.patch | (download)

lib/httpclient/ssl_config.rb | 19 15 + 4 - 0 !
test/test_ssl.rb | 5 4 + 1 - 0 !
2 files changed, 19 insertions(+), 5 deletions(-)

 change default ssl configuration
 The POODLE attack (https://en.wikipedia.org/wiki/POODLE) deprecated the use
 of SSLv3 protocol. We change the default configuration to autodetection
 and try to explicitly disable SSLv2 and SSLv3, preferring TLS protocol suites
 instead.
 This patch is a minimal adaptation of a commit in the project's upstream:
 https://github.com/nahi/httpclient/commit/90d5c791c941c72521784dc4ea8eed60987800da