34 Commits

Author SHA1 Message Date
HoneyryderChuck
43016795f3 introducing the :no_proxy option
can be passed in the `:proxy` option hash, and receives domains, as
strings, which requests should not go through the proxy.
2022-08-05 22:37:52 +01:00
HoneyryderChuck
39beff84ab added ability to check if request has been proxied 2022-08-04 14:02:44 +01:00
HoneyryderChuck
6dcf9f0d75 enabling and adding a test for using proxy digest auth 2022-05-07 16:49:00 +01:00
HoneyryderChuck
637d2f7600 fix: proxy credentials were not being used
a regression from the 0.19.x series was omitting the proxy credentials
when passed directly as proxy options (instead of being part of the URI).

Closes #188
2022-04-05 22:53:45 +01:00
HoneyryderChuck
e9a81d6b16 enabled h2 tests which were blocked for jruby 2022-03-05 17:33:37 +00:00
HoneyryderChuck
d3b36c5668 added support for HTTP/2 proxy by simplifying the overall http proxy implementation 2022-01-07 12:26:26 +02:00
HoneyryderChuck
cbfdfed6c4 socks5 test covering failed authenticationn path 2021-01-14 00:35:22 +00:00
HoneyryderChuck
75089a334a added test for Socks5 connection establishment using an IP.
The test only tests IPv4 due to lack of support for IPv6 in the current
docker test suite, but IPv6 is expected to work as well.
2021-01-09 17:14:36 +00:00
HoneyryderChuck
fab44b5993 verifyig error responses annd deltas using internal methods 2021-01-05 18:57:39 +00:00
HoneyryderChuck
d3a6edeecb fixed socks4a handshake while adding more socks4 tests
the packet wasn't being well formed in certain situations. Also, raised
restrictions for IPv6 addresses, as hton is implemented in more recent
rubies for them as well.
2020-12-02 01:30:38 +00:00
HoneyryderChuck
201591e9fe added test for the socks5 non-happy path 2020-12-02 01:30:38 +00:00
HoneyryderChuck
3bf3223c60 fixing another loop error when proxy needs to be resolved, by resolving
fails

While adding yet another test, an edge case was found where a proxy had
to be resolved, but when the resolving failed, the process wasn't
recovering from it.
2020-11-30 12:16:36 +00:00
HoneyryderChuck
adf479221c added proxy authentication test 2020-02-08 01:43:40 +00:00
HoneyryderChuck
2df9248e4c added test to verify it's not connecting to any proxy 2019-12-31 01:56:21 +00:00
HoneyryderChuck
7e70ffe4ed realign multi-line calls in test/ 2019-03-16 17:17:00 +00:00
HoneyryderChuck
c1c0c536eb Client -> Session (signal this as deprecation, as this is public API 2019-03-16 16:32:33 +00:00
HoneyryderChuck
44cb82602c do not test ssh proxy for jruby (no support) 2019-03-16 04:50:01 +00:00
HoneyryderChuck
ddd27a3b36 added ssh proxy test 2018-12-28 14:21:25 +00:00
HoneyryderChuck
4be12daa00 verify_status receives response and raises when not a proper response 2018-03-20 20:08:24 +00:00
HoneyryderChuck
2b1ab8b6b6 rubocop auto-corrections according to some basic rules for now 2018-01-28 22:33:41 +00:00
HoneyryderChuck
7f7046b9ce added programatic proxy discovery by parsing the sslproxy and socks-proxy pages and fetching a sample suitable for each test 2018-01-14 20:39:42 +00:00
HoneyryderChuck
767637f15f switched name of proxy test and endpoints, again 2018-01-13 17:53:56 +00:00
HoneyryderChuck
7f22b3f398 added a new socks5 proxy 2018-01-06 19:26:02 +00:00
HoneyryderChuck
fe79e73ffd again, proxies... 2018-01-04 22:56:31 +00:00
HoneyryderChuck
26dd09903c added socks 5 proxy which supports https 2018-01-04 22:46:06 +00:00
HoneyryderChuck
8ff7857dbf added support for socks5 2018-01-03 20:47:37 +00:00
HoneyryderChuck
a3c46525ff fixed socks4 corner cases, added support for socks4a 2018-01-03 18:41:06 +01:00
HoneyryderChuck
7e7e7d2dcd added support for socks proxy version 4 (following the curl way of declaring the version through uri (socks4://, socks4a://, etc
...)
2018-01-02 13:41:44 +02:00
HoneyryderChuck
128b5fc97e allowing to extend http2 channel for proxies; simplified proxy argument (uri instead of proxy_uri) 2017-12-22 09:18:12 +02:00
HoneyryderChuck
eac3955892 comment about the site for ssl proxies 2017-12-21 17:08:54 +02:00
HoneyryderChuck
af3a81b7a2 proxy: added multiple possible proxies to choose (for now it's a static list, but these might become unavailable, added dynamic fetching later) 2017-12-21 15:35:58 +02:00
HoneyryderChuck
48d8714225 added support for https proxy connect flow; removed the proxy server tests, as I found a list of public proxies, which are good enough to test around; added a bit more logging 2017-12-21 15:21:58 +02:00
HoneyryderChuck
6d7c3d73b6 testing on /get 2017-12-20 18:56:12 +02:00
HoneyryderChuck
9ee00921f8 added proxy tests; the tests use local nghttpx as proxy, which means this'll become a dependency 2017-12-20 17:26:57 +02:00