Commit Graph
18 Commits
Author SHA1 Message Date
Lucio FrancoandGitHub 5c2f4dba32 feat(transport): Change channel connect to be async (#107)
This makes it so you can check if the initial connection
is established. Before this we used reconnect which would
lazily attempt to connect. So if you were trying to connect
to a non existant Server you wouldn't find out until after
you attempted your first RPC. This simplifies everything
by allowing you connect before creating the RPC client.

BREAKING CHANGE: `Endpoint::channel` was removed in favor of
an async `Endpoint::connect`.
2019-10-31 14:09:40 -04:00
James NugentandLucio Franco 8db3961491 feat(transport): Expose more granular control of TLS configuration (#48)
This commit reworks TLS configuration of both servers and endpoints in
order to provide a more flexible API. We now add options to configure
the selected TLS library using the appropriate 'native' configuration
structures, as well as retaining the existing simplier interface which
is compatible with both.

The new API can also be easily extended to support simple interfaces for
configuring mTLS and a range of other options without creating sprawl
in the builders for `Server` and `Endpoint`.
2019-10-08 11:49:05 -04:00
Lucio Franco a35ef96a03 Add docs to transport and refactor some api's 2019-09-29 17:04:42 -04:00
Lucio Franco 60c9629630 Refactor all of the tls 2019-09-24 14:32:16 -04:00
Lucio Franco 9954b9e10c Update tracing in interop test 2019-09-16 18:40:43 -04:00
Lucio Franco d6f4d49e2e Add layers 2019-09-16 18:27:54 -04:00
Lucio Franco b1991b312f fmt 2019-09-02 18:25:55 -04:00
Lucio Franco 6d09f4de25 Add use_tls option for interop tests 2019-09-02 18:20:22 -04:00
Lucio Franco affd148525 Rename project and fmt 2019-09-01 13:09:39 -04:00
Lucio Franco 60e6d5df08 Rename client to channel 2019-09-01 12:44:01 -04:00
Lucio Franco cc2fa986a6 Add both rustls and openssl client tls implementation 2019-09-01 01:37:19 -04:00
Lucio Franco 4ea3fdfd1e Inital tls 2019-08-31 15:59:51 -04:00
Lucio Franco 4000c42478 Add buffer support 2019-08-31 03:18:52 -04:00
Lucio Franco f750dfa111 Fix interoptests and rewrite decode 2019-08-28 17:24:53 -04:00
Lucio Franco a9e2f0e250 work 2019-08-24 12:18:24 -07:00
Lucio Franco ae0500f48f more interop tests 2019-08-21 20:55:58 -04:00
Lucio Franco 93eb9989d6 Fix encoding, more interop and update nightly version 2019-08-21 18:50:27 -04:00
Lucio Franco 8dc1185a36 Add first pass at interop tests 2019-08-18 21:04:00 -04:00