mirror of https://github.com/perkeep/perkeep.git
8127040762
We can now use DialTLS when we need a custom TLS setup, i.e. with android, or when using self-signed certificates, or when totally skipping certificates verification. This allows us to get rid of the scheme rewriting hack, which simplifies things, in particular because we have less tricky URL/host parsing to do. For the sake of tests and not affecting "real" code, I introduced the fake_android build tag, so the tests can use custom functions to simulate testing whether we're on android. Fixes #566 Change-Id: I72ac2bb69ad2365e98dd6ca2e7016ce9c2d7c57e |
||
---|---|---|
.. | ||
androidx.go | ||
androidx_fake.go | ||
androidx_real.go |