aboutsummaryrefslogtreecommitdiff
path: root/crates/arti-hyper/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix rustdoc errors.Nick Mathewson2022-03-011-1/+1
|
* arti-hyper: Upgrade from an example to an "adaptation layer"Ian Jackson2022-03-011-0/+8
|
* arti-hyper: Expand docsIan Jackson2022-03-011-1/+15
|
* arti-hyper: Drop obsolete comment about not doing TLSIan Jackson2022-03-011-2/+0
|
* arti-hyper: Add vacuous doc comments as required by clippyIan Jackson2022-02-281-0/+3
|
* EK::RemoteProtocolFailed replaces OtherRemoteIan Jackson2022-02-281-1/+1
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/355#note_2781816
* Fix rustfmtIan Jackson2022-02-281-9/+10
| | | | I disagree with all these. Whatever.
* arti-hyper: Abolish a bool in favour of a custom private enumIan Jackson2022-02-281-12/+19
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/355#note_2781820
* arti-hyper: Box the http variant (bare DataStream)Ian Jackson2022-02-281-7/+6
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/355#note_2781819
* arti-hyper: Fix duplicative doc comment not to be wrongIan Jackson2022-02-281-1/+1
|
* arti-hyper: Actually support TLSIan Jackson2022-02-281-17/+38
|
* arti-hyper: Provide TLS connector and make space for TLS streamIan Jackson2022-02-281-18/+58
| | | | | | | | | | Add tls_conn field to ArtiHttpConnector (and argument to constructor). Introduce MaybeHttpsStream and use it in ArtiHttpConnection. Have the example program pass the native TLS connector. Currently the TLS connector and the HTTPS variant are not used, but this commit is very noisy and fomrulaic, so I have split out the code to use them into a separate commit for easier preparation and review.
* Manually implement Clone for ArtiHttpConnectorIan Jackson2022-02-281-1/+7
| | | | | This will be needed in a moment and doing it now makes the next patch smaller and hence easier to read.
* arti-hyper: Disable clippy::clone_on_ref_ptrIan Jackson2022-02-281-1/+0
| | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/355#note_2781816 disable this here for now, pending a decision on !352
* arti-hyper: impl HasKind for ConnectionErrorIan Jackson2022-02-231-0/+14
|
* arti-hyper: Add note about missing https supportIan Jackson2022-02-231-0/+3
|
* arti-hyper: Add vacuous doc comments to placate clippyIan Jackson2022-02-231-0/+3
|
* arti-hyper: Move support code into libraryIan Jackson2022-02-231-0/+112
| | | | Pure code motion. (Including motion/copying of "use" lines.)
* arti-hyper: Introduce new ConnectionError typeIan Jackson2022-02-231-0/+28
| | | | | We need this not to use anyhow because we don't want our libraries to expose anyhow, and this is about to go into the library.
* arti-hyper: empty crate skeletonIan Jackson2022-02-231-0/+32