567 Commits

Author SHA1 Message Date
HoneyryderChuck
5aed4c1972 allow CI not to swallow the test errors 2018-02-14 07:31:42 +00:00
HoneyryderChuck
8e4934b377 parametrized spec script, setting gitlab CI 2018-02-14 00:32:48 +00:00
HoneyryderChuck
5193aeab92 sh not bash 2018-02-13 23:40:16 +00:00
HoneyryderChuck
41b5c53fb2 changed the way that the tests run, by running on top of a native ruby image, which allows other docker-compose files to overwrite the setting 2018-02-13 23:39:59 +00:00
HoneyryderChuck
af15faeb19 set ruby in Gemfile 2018-02-13 23:36:51 +00:00
HoneyryderChuck
3525628949 minimize coverage, to match all rubies expectations 2018-02-13 23:36:24 +00:00
HoneyryderChuck
273cdd45b5 rubocoped 2018-02-13 22:19:05 +00:00
HoneyryderChuck
e003657d92 added test:ci rake task 2018-02-13 21:41:39 +00:00
HoneyryderChuck
e35b00951f stuff to ignore 2018-02-13 21:38:17 +00:00
HoneyryderChuck
e5a588a98a moved spec.sh to root 2018-02-13 21:37:30 +00:00
HoneyryderChuck
d61e03287d renamed docker services, using 3proxy instead of dante 2018-02-13 21:21:02 +00:00
HoneyryderChuck
e7d25a43f7 proxy helper: make endpoints dependent of envvars 2018-02-13 21:19:59 +00:00
HoneyryderChuck
f842542cea fix http proxy (don't forget pending requests, and emit them (no more @on_response callback for a while) 2018-02-11 23:06:55 +00:00
HoneyryderChuck
c2115f11d8 don't call super (it will transit from idle to open) 2018-02-11 23:06:13 +00:00
HoneyryderChuck
9e873bc855 consider a parser empty when there are no requests other than the connect request 2018-02-11 23:05:37 +00:00
HoneyryderChuck
55b1180959 redid test certs, so that they would break certificate verification over a proxy 2018-02-11 23:04:31 +00:00
HoneyryderChuck
bfb56dbd6c building nghttp2 myself to latest version; binding to 80/443, easening the tests 2018-02-11 12:10:48 +00:00
HoneyryderChuck
0d8ef8fc37 allow graceful fallback on alpn negotiation when the server doesn't support it 2018-02-10 20:05:06 +00:00
HoneyryderChuck
b97b93aeca test/support/http_test.rb 2018-02-10 20:02:56 +00:00
HoneyryderChuck
9a7612e781 linking against local httpbin, tests pass, hurrqy+ 2018-02-10 13:25:41 +00:00
HoneyryderChuck
89648120f5 one step towards a leaner package 2018-02-10 13:24:59 +00:00
HoneyryderChuck
6bbc539a44 linked http2 image to tests 2018-02-10 13:24:38 +00:00
HoneyryderChuck
1796ff29c0 added endpoints for CI proxies (docker containers) 2018-02-10 01:40:58 +00:00
HoneyryderChuck
e974fcf3fb improved on the docker configs 2018-02-10 00:38:58 +00:00
HoneyryderChuck
36fd0bef88 added docker setup with dante/squid (for proxies) 2018-02-09 19:41:27 +00:00
HoneyryderChuck
de35b9efad allow for merging of default options from extended classes (important for passing along altered http classes) 2018-02-08 23:56:38 +00:00
HoneyryderChuck
930e654b51 remove selectors which don't have any interest 2018-02-08 23:55:48 +00:00
HoneyryderChuck
ec6884c4c4 bumped http-2 to 0.9 2018-02-08 23:54:29 +00:00
HoneyryderChuck
2b7ec4a8c0 fixed multi-url calls 2018-02-04 14:10:14 +00:00
HoneyryderChuck
4753402e8f do not let the parser go if still necessary 2018-02-04 00:16:51 +00:00
HoneyryderChuck
da1ab51bf5 allow this hack so that the TCP channel doesn't break if the socket passed is a unix socket (so, we don't support them as factory, but we should let it go if passed as :io) 2018-02-04 00:14:22 +00:00
HoneyryderChuck
de06435d8f buffer knows bytesize 2018-02-04 00:12:12 +00:00
HoneyryderChuck
728d5e9bc6 namespacing loggable 2018-02-04 00:11:35 +00:00
HoneyryderChuck
74f963aeeb h2c: pass options to __send_reqs 2018-02-04 00:11:20 +00:00
HoneyryderChuck
9668814cb6 more helpful error message for channel discovery 2018-02-03 20:01:31 +00:00
HoneyryderChuck
13a3af020e do not continue if no req 2018-02-03 20:00:42 +00:00
HoneyryderChuck
2e065c9d4e added stream (for text/event-stream) first draft plugin; allowing bodyless responses (which the parser won't be able to complete) to make an early exit 2018-02-03 20:00:25 +00:00
HoneyryderChuck
2ef24af0a9 http1 chunk: added support for trailers, allow chunk encoder to be streamable 2018-02-03 19:57:41 +00:00
HoneyryderChuck
082a277117 propagate request options to the channel 2018-02-03 19:55:37 +00:00
HoneyryderChuck
4f45dd4604 don't let #inspect drain the buffer 2018-02-03 19:54:29 +00:00
HoneyryderChuck
305ef02b59 response: to_s sets encoding, based from what's in header (or binary if missing) 2018-02-03 19:54:29 +00:00
HoneyryderChuck
00d8e5bd87 push promise: updated callbacks to next http-2, allow to mark response as pushed 2018-02-03 19:54:22 +00:00
HoneyryderChuck
3de562c16d do not call set_params when no options are passed (beware of jruby-openssl, which changes the cipher list) 2018-01-30 23:01:10 +00:00
HoneyryderChuck
514cb9e6f4 requiring the helper explicitly 2018-01-30 23:00:42 +00:00
HoneyryderChuck
12ae330d7f wrong engine 2018-01-28 23:37:32 +00:00
HoneyryderChuck
bfbf98b121 another indirection 2018-01-28 23:28:58 +00:00
HoneyryderChuck
6dff88caf4 load support before requests 2018-01-28 23:22:57 +00:00
HoneyryderChuck
3c16999b53 do not do brotli tests on jruby 2018-01-28 23:20:25 +00:00
HoneyryderChuck
640a78fad4 add compiler tools 2018-01-28 23:16:53 +00:00
HoneyryderChuck
1518092591 update apk 2018-01-28 23:13:50 +00:00