Commit graph

11 commits

Author SHA1 Message Date
Matthew Holt
e92fe979d0 Begin refactor for Caddy 2
All the tests pass. I tried to keep as much as possible the same, but a
few things don't translate well to Caddy 2, notably one test in
probe_resist_test.go on L200, I had to change that test case since I
didn't quite understand why it was the way it was before.

Does not yet have v2 Caddyfile support.
2020-04-20 17:22:47 -06:00
sergeyfrolov
05540a763b
Change caddy path to github.com/caddyserver/caddy (#63) 2019-07-06 20:35:37 -06:00
Sergey Frolov
77cd5d827e Fix up the tests after TLS changes in Caddy 2019-02-03 17:23:15 -07:00
Sergey Frolov
a035ebe8d6 Change DialTLS signature
Make it look closer to standard Transport.DialTLS, because it's good to be
like standard things.
This also allows usage of thrid party TLS stacks, enabling
https://github.com/refraction-networking/utls.Roller integration.
2018-08-02 10:40:04 -04:00
sergeyfrolov
9ab4d8910e
Fix h2 tests (#42)
Fix tests: start actually using http2 in tests
2018-07-27 12:29:12 -04:00
sergeyfrolov
7791846e12
Add Access Control Lists (#31)
We settled on a powerful, but a bit complicated acl design.
This commit makes a couple of cosmetic improvements. It also removes
http.Transport, which was previously used to dial and write http
requests for insecure GET requests. Now we have to dial manually,
so we can check the access control list.
2018-06-26 10:53:24 -04:00
sergeyfrolov
9ff8f882ff
Add upstream proxy support, fix tests, cosmetics (#27) 2018-06-15 16:36:08 -04:00
Sergey Frolov
d9cdae3398 go vet fixes 2017-08-18 19:20:32 -04:00
Sergey Frolov
dbaf326869 experimental_probe_resist -> probe_resistance 2017-08-18 19:20:32 -04:00
Sergey Frolov
f2019d57c4 Serve PAC files from memory 2017-08-18 19:20:32 -04:00
Sergey Frolov
9e92549830 Initial commit 2017-08-18 19:20:20 -04:00