Brian Waldon
a299e92dfa
transport: fake out certificate parser
...
The work being done in the tests is completely wasted, as we do not
need to test the udnerlying x509 library. Faking out the parser function
allows the tests to run much faster without having to carry massive
fixtures, either.
2014-09-23 13:49:32 -07:00
Brian Waldon
4649a28097
transport: exercise TLSInfo.ClientConfig & ServerConfig
2014-09-23 12:52:59 -07:00
Brian Waldon
6ac4aea2bf
transport: test TLSInfo.Empty()
2014-09-23 12:19:32 -07:00
Brian Waldon
3c4b155395
transport: spot-check NewTransport
2014-09-23 12:14:50 -07:00
Brian Waldon
342ea18239
transport: build TLS config in NewTransport
2014-09-23 10:03:17 -07:00
Brian Waldon
e880dd41f2
transport: add TLSInfo.ClientConfig
2014-09-23 10:03:16 -07:00
Brian Waldon
0c7351c309
etcd: manually construct HTTP client for peer communication
2014-09-23 10:03:14 -07:00
Brian Waldon
db12e5704b
transport: no need to set RootCAs in TLSInfo.ServerConfig
2014-09-23 09:04:26 -07:00
Brian Waldon
17459c7bfc
transport: wrap net.Listener with TLSInfo
2014-09-22 17:58:30 -07:00
Brian Waldon
a782a1a7d1
etcd: manually construct listeners
2014-09-22 17:57:44 -07:00