aboutsummaryrefslogtreecommitdiff
path: root/src/rpc_server.rs
Commit message (Collapse)AuthorAgeFilesLines
* TLS works \o/Alex Auvolat2020-04-121-1/+1
| | | | | | | | | 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-19/+79
|
* fixesAlex Auvolat2020-04-121-8/+21
| | | | | | - make block_put call uninterruptible by client - used meta_replication_factor instead of data_replication_factor - listen on ipv6
* 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
* Local refcounting of blocksAlex Auvolat2020-04-111-3/+2
|
* Background task runner that replaces tokio::spawnAlex Auvolat2020-04-111-2/+3
|
* We don't want the debugging to fail, actually.Alex Auvolat2020-04-101-9/+20
|
* Fix the Sync issue. Details:Alex Auvolat2020-04-101-23/+30
| | | | | | | 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-2/+19
|
* Something worksAlex Auvolat2020-04-091-2/+5
|
* Some workAlex Auvolat2020-04-081-1/+0
|
* Some work in actually storing thingsAlex Auvolat2020-04-081-7/+17
|
* Refactor; ability to update network configAlex Auvolat2020-04-071-0/+69