aboutsummaryrefslogtreecommitdiff
path: root/src/rpc_client.rs
Commit message (Collapse)AuthorAgeFilesLines
* CleanupAlex Auvolat2020-04-121-2/+1
|
* TLS works \o/Alex Auvolat2020-04-121-6/+5
| | | | | | | | | So, the issues were: - webpki does not support IP addresses as DNS names in URLs, so I hacked the HttpsConnector to always provide a fixed string as the DNS name for server certificate validation - the certificate requied a SAN section which was complicated to build but eventually the solution is there in genkeys.sh
* Trying to do TLSAlex Auvolat2020-04-121-9/+44
|
* Keep network status & ring in a tokio::sync::watchAlex Auvolat2020-04-111-2/+2
| | | | | | advantages - reads don't prevent preparing writes - can be followed from other parts of the system by cloning the receiver
* Fix the Sync issue. Details:Alex Auvolat2020-04-101-34/+37
| | | | | | | So the HTTP client future of Hyper is not Sync, thus the stream that read blocks wasn't either. However Hyper's default Body type requires a stream to be Sync for wrap_stream. Solution: reimplement a custom HTTP body type.
* Why is it not Sync??Alex Auvolat2020-04-091-1/+1
|
* Something worksAlex Auvolat2020-04-091-1/+1
|
* Basic workflow for client PUT, next is do actual storageAlex Auvolat2020-04-081-9/+38
|
* Refactor; ability to update network configAlex Auvolat2020-04-071-0/+96