Commit graph

5 commits

Author SHA1 Message Date
Juan Calderon-Perez
bf7eb31051 Use golangci-lint setup from caddyserver/server. Fix all issues 2024-02-11 23:32:13 -05:00
Sergey Frolov
1e6dbb151c Remove localDialAddr 2021-02-28 16:35:26 -07:00
Sergey Frolov
75511e6fbe Remove dialLocal 2021-02-28 15:04:44 -07:00
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
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