1102 Commits

Author SHA1 Message Date
HoneyryderChuck
745d95c7e0 close http2 connection as soon as it served all possible requests; this will make the persistent plugin account for resources better 2020-03-07 23:04:29 +00:00
HoneyryderChuck
4348f49c69 http2: only goaway from connection once 2020-03-07 22:56:13 +00:00
HoneyryderChuck
0a0313b69d fixed http1 connection close recovery 2020-03-07 22:09:09 +00:00
HoneyryderChuck
f8256a7dba indentation 2020-03-07 00:53:34 +00:00
HoneyryderChuck
17ad340496 track all new connections 2020-03-07 00:53:34 +00:00
HoneyryderChuck
7f055949af allow connection to create an idle copy of itself; allow #merge to purge pending requests; fixed request purging 2020-03-07 00:53:34 +00:00
HoneyryderChuck
a4c0096cd8 connection emits the exhausted event when the strem limit has been achieved on an HTTP/2 connection
this happens when the requests are enqueued before the connection is
negotiated, and then one has too many requests enqueued.
2020-03-07 00:53:34 +00:00
HoneyryderChuck
1ad91d898e implemented Connection#exhausted?
an exhausted connection can't service more requests, therefore is
unmatchable and can't enqueue more requests to the parser.
2020-03-07 00:53:34 +00:00
HoneyryderChuck
f18c5e36d6 Merge branch 'issue-80' into 'master'
fixed bug related to return on instance_exec evaluation, which was disallowed in that context

Closes #80

See merge request honeyryderchuck/httpx!71
2020-03-03 10:23:01 +00:00
HoneyryderChuck
c744c431fb fixed bug related to return on instance_exec evaluation, which was disallowed in that context 2020-02-29 18:14:13 +00:00
HoneyryderChuck
ad49df8b34 bumped version to 0.6.7 v0.6.7 2020-02-29 02:36:57 +00:00
HoneyryderChuck
ed45ecbf85 bumped rubocop to 0.80 2020-02-29 02:30:39 +00:00
HoneyryderChuck
b22c58505d Merge branch 'issue-77' into 'master'
when using connection coalescing, make sure that, if we're using host

Closes #77

See merge request honeyryderchuck/httpx!70
2020-02-26 18:52:44 +00:00
HoneyryderChuck
1765f6c645 when using connection coalescing, make sure that, if we're using host
certificate verification, that the coalescable connection also wants to
use https
2020-02-26 18:37:29 +00:00
HoneyryderChuck
de6adec305 Merge branch 'doc/stream' into 'master'
Add document for Stream plugin

See merge request honeyryderchuck/httpx!69
2020-02-26 12:49:03 +00:00
Juanito Fatas
b7c97588d2 Add document for Stream plugin 2020-02-23 21:19:54 +09:00
HoneyryderChuck
6268e91f99 removing unneeded header 2020-02-17 00:08:34 +00:00
HoneyryderChuck
460b2118d8 bumping to 0.6.6 v0.6.6 2020-02-17 00:03:06 +00:00
HoneyryderChuck
41ca9f57b1 removing dead code 2020-02-15 11:48:11 +00:00
HoneyryderChuck
efd7c242f8 Merge branch 'issue-70' into 'master'
DoH with GET

Closes #70

See merge request honeyryderchuck/httpx!68
2020-02-15 11:23:12 +00:00
HoneyryderChuck
ddb9be74c9 enabled and tested DoH with GET 2020-02-15 10:52:31 +00:00
HoneyryderChuck
6d8ae62cdb Merge branch 'issue-75' into 'master'
do not follow altsvc when connecting using proxy

Closes #75

See merge request honeyryderchuck/httpx!67
2020-02-13 11:39:23 +00:00
HoneyryderChuck
0986fa96d5 do not follow altsvc when connecting using proxy 2020-02-13 01:15:40 +00:00
HoneyryderChuck
16ed6d428d Merge branch 'issue-49' into 'master'
retry_after option to the retries plugin

Closes #49

See merge request honeyryderchuck/httpx!66
2020-02-10 00:24:21 +00:00
HoneyryderChuck
98cce7df65 added retry_after option to the retries plugin 2020-02-10 00:09:50 +00:00
HoneyryderChuck
46e8f57868 Merge branch 'issue-52' into 'master'
retry_on feature (retries)

Closes #52

See merge request honeyryderchuck/httpx!65
2020-02-09 23:34:17 +00:00
HoneyryderChuck
0500fb6db8 added retry_on option, passing a callback for dev purposes 2020-02-09 00:25:16 +00:00
HoneyryderChuck
4451218300 deprecating the .plugins, as it's not compatible with sending plugin options 2020-02-09 00:25:16 +00:00
HoneyryderChuck
4724cbee33 bumping to 0.6.5 v0.6.5 2020-02-08 18:55:46 +00:00
HoneyryderChuck
11e577ade2 Merge branch 'issue-71' into 'master'
proxy authentication improvements

Closes #73 and #71

See merge request honeyryderchuck/httpx!64
2020-02-08 18:31:25 +00:00
HoneyryderChuck
05499a0cc0 set up jekyll gemfile path differently 2020-02-08 18:14:53 +00:00
HoneyryderChuck
8aa7ca4d44 fixed loop in connect proxy on failed authentication 2020-02-08 02:28:04 +00:00
HoneyryderChuck
8a296674aa fixed all usages of @pending 2020-02-08 01:44:38 +00:00
HoneyryderChuck
adf479221c added proxy authentication test 2020-02-08 01:43:40 +00:00
HoneyryderChuck
11f538551b setting up http authorization for http and https proxy scenarios 2020-02-08 01:14:24 +00:00
HoneyryderChuck
393ed89b56 setting up squid to force authorization, so we can test that code path 2020-02-08 01:13:28 +00:00
HoneyryderChuck
d9787252a0 configuring proxy for authentication 2020-02-03 01:19:10 +00:00
HoneyryderChuck
5e028e67f3 add make to java build (ffi requires it) 2020-02-03 01:00:31 +00:00
HoneyryderChuck
2f6e54505b Merge branch 'issue-72' into 'master'
Native resolver bug

See merge request honeyryderchuck/httpx!62
2020-02-03 00:48:53 +00:00
HoneyryderChuck
ec1f34f4b4 do not include stripe, version simplecov 2020-02-03 00:39:48 +00:00
HoneyryderChuck
57d00e814b using proper ruby image 2020-02-03 00:32:41 +00:00
HoneyryderChuck
5958536220 deleting queries, as native and https resolvers do not recover well afterwards 2020-02-02 09:45:23 +01:00
HoneyryderChuck
60e30f3f10 passing a flag for resolvers, where you can choose to use cache or not, which is helpful for tests 2020-02-02 09:44:39 +01:00
HoneyryderChuck
992f485967 exhaust the requests when recovering from errors 2020-02-02 09:43:09 +01:00
HoneyryderChuck
cfc039e32e handle the special case of system resolver which has to bubble up differently than all other errors 2020-02-02 09:42:33 +01:00
HoneyryderChuck
731db5691b moving resolver tests to the mainline requests 2020-02-02 09:41:30 +01:00
HoneyryderChuck
e987c966cb ruby 2.1: guard against IOError from when one closes the udp channel (multiple calls to close might trigger this) 2020-01-27 01:15:19 +00:00
HoneyryderChuck
e898bdf0ea delete connections which failed name resolving, as they might interfere with subsequent requests 2020-01-26 21:49:26 +00:00
HoneyryderChuck
7a0cec9748 do no use buffer for native reads (not necessary); making the interest dependent on write buffer and queries in-flight (and clearing them whenever necessary) 2020-01-26 21:49:26 +00:00
HoneyryderChuck
544b53b9c9 do not convolute host unreachable errors with native resolving, as hostunreach should only be used for DNS nameservers, to control fallbacks 2020-01-26 20:39:34 +00:00