Frank Denis
a3bb77fa61
Don't cache recoverable errors for too long
2019-10-01 16:49:42 +02:00
Frank Denis
8c96ecdc10
Rename signatures to hashes for clarity
2019-08-15 11:53:57 +02:00
Frank Denis
c65ce1210d
Merge branch 'master' of github.com:jedisct1/rust-doh
...
* 'master' of github.com:jedisct1/rust-doh:
Bump, just for the import fix
It's just proxy_cache
Add some documentation
Update deps
cmd argument validation and remote hostname support
2019-08-12 16:08:45 +02:00
Frank Denis
10a99040e1
Get help info from Cargo.toml
...
Fixes #35
Fixes #13
2019-08-12 16:07:57 +02:00
Frank Denis
46cdc9168d
Bump, just for the import fix
2019-08-12 12:00:10 +02:00
Frank Denis
abaa8e4da0
It's just proxy_cache
2019-07-20 22:25:08 +02:00
Frank Denis
48ddb237b4
Add some documentation
2019-07-20 22:08:08 +02:00
Frank Denis
d12defaf2c
Update deps
2019-07-20 21:54:21 +02:00
Frank Denis
98d1a8c8d7
Merge pull request #26 from Dieff/master
...
Added some cli argument validation and ability to use hostname to specify upstream server
2019-07-13 09:03:30 +02:00
Nick Dieff
524168795f
cmd argument validation and remote hostname support
2019-07-12 22:03:17 -04:00
Frank Denis
8fbcdfc2a7
Bump
2019-06-15 11:03:37 +02:00
Frank Denis
7ff594de3b
Only check the content type on POST queries
...
Fixes #25
2019-06-15 11:02:01 +02:00
Frank Denis
cc00e62f82
Bump
2019-06-11 13:13:29 +02:00
Frank Denis
224609ea9b
Check content-type instead of accept
...
Fixes #23
2019-06-04 23:24:15 +02:00
Frank Denis
217bb90320
Return various HTTP error codes on invalid queries
...
Fixes #23
2019-06-04 18:34:32 +02:00
Frank Denis
de99e6a8b2
Return BAD_REQUEST on short queries for POST queries, too
...
Fixes #20
2019-06-01 00:58:43 +02:00
Frank Denis
dbef23142a
Update tokiox
2019-06-01 00:58:34 +02:00
Frank Denis
30f2a7e86a
Bump
2019-05-27 14:34:53 +02:00
Frank Denis
d02fa3d393
Add an option to disabe POST queries
...
CDNs such as Cloudflare may not cache POST queries.
Refusing POST queries is not a big deal, since dnscrypt-proxy will
transparently switch to GET.
2019-05-27 14:31:22 +02:00
Frank Denis
7612e9a57f
Bump
2019-05-19 12:41:22 +02:00
Frank Denis
764d7c3a64
Update the documentation
2019-05-19 12:41:07 +02:00
Frank Denis
ed47ab8a1b
LTO
2019-05-19 12:18:14 +02:00
Frank Denis
1706ec0dcb
Make TLS an optional feature
2019-05-19 11:38:55 +02:00
Frank Denis
badcb6104d
Update the documentation
2019-05-16 17:51:15 +02:00
Frank Denis
58a0ef3347
Enable keepalive by default, add a switch to disable it
2019-05-16 17:15:07 +02:00
Frank Denis
dc7480c3f9
Bump deps
2019-05-16 17:00:33 +02:00
Frank Denis
d691562f60
Add preliminary support for TLS
2019-05-16 16:59:52 +02:00
Frank Denis
ed9c50777a
Bump
2019-05-12 02:05:32 +02:00
Frank Denis
b723245bec
Allow Cargo.lock
2019-05-12 02:00:49 +02:00
Frank Denis
4b7956bc78
pub(crate)
2019-05-12 01:57:04 +02:00
Frank Denis
a65e1883ee
Import utils
2019-05-12 01:55:36 +02:00
Frank Denis
08675c6243
Update deps
2019-05-12 01:46:49 +02:00
Frank Denis
4cdb23d9fa
Add padding
2019-05-12 01:46:44 +02:00
Frank Denis
0fc3a23d04
Update a few dependencies
2019-04-19 20:51:20 +02:00
Frank Denis
587c725ca5
Update the README file
2019-03-16 21:07:40 +01:00
Frank Denis
4e4f9aeea8
Bump and require specific versions for tokio/futures/hyper
2019-03-16 21:06:47 +01:00
Frank Denis
b3587f9694
Make TTLs configurable and slightly bump the defaults
2019-03-16 21:04:11 +01:00
Frank Denis
d17e6d767f
Bump
2019-03-16 20:29:48 +01:00
Frank Denis
5a07001129
Use jemalloc, because glibc's allocator is crap
2019-03-13 20:30:17 +01:00
Frank Denis
d22331d106
Factorize RR traversal code
2019-03-13 19:52:54 +01:00
Frank Denis
8ad7edbf0e
Set the max payload size in the outgoing queries
2019-03-13 19:20:13 +01:00
Frank Denis
2f85b58f33
Use Rust 2018
2019-03-12 02:09:26 +01:00
Frank Denis
4ae4c5d974
Bump
2019-03-12 02:06:43 +01:00
Frank Denis
9ecdb3dcd7
Handle timeouts
2019-03-12 01:56:54 +01:00
Frank Denis
37c0024e10
Update base64
2019-03-12 01:16:20 +01:00
Frank Denis
a8cd28fff8
2019
2019-02-18 14:53:07 +01:00
Frank Denis
98a0c59047
Don't use tokio_current_thread; update tokio-timer (which doesn't work)
2018-10-01 11:57:46 +02:00
Frank Denis
2723bd3ac6
Refactor clients_count things
2018-10-01 00:37:02 +02:00
Frank Denis
9dcbc328d4
Decrement the clients count on timeout
2018-10-01 00:32:48 +02:00
Frank Denis
737c5b4d24
Compatibility with ancient rust versions
...
Maybe
fixes #14
2018-10-01 00:04:02 +02:00