- Mar 14, 2022
-
-
Ian Jackson authored
-
Ian Jackson authored
We have upstreamed this code. This reverts commit 6193c9d9.
-
Ian Jackson authored
Replace all uses of our copy of this code.
-
Ian Jackson authored
This has the humantime_serde::option module, which we have upstreamed and are about to switch to. The remaining dependency with version = "1" is going to be removed in a moment.
-
- Mar 11, 2022
-
-
Ian Jackson authored
arti: Move all code from binary crate to library crate See merge request tpo/core/arti!403
-
Nick Mathewson authored
tor-netdoc: Save allocation space in GenericRouterstatus Closes #387 See merge request tpo/core/arti!400
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
(Once we're done parsing these, the vector will never get any longer.)
-
Nick Mathewson authored
This should save around 181K of heap on a current directory.
-
Nick Mathewson authored
When the version is a Tor version, we can just parse it; otherwise, we can intern it. This shrinks GenericRouterStatus and avoids a lot of extra help allocations.
-
Nick Mathewson authored
This is the default vscode format, and seems popular elsewhere. This commit does nothing but reformat.
-
Nick Mathewson authored
Part of #387
-
Ian Jackson authored
-
Ian Jackson authored
I ought to have c&p these. As per tpo/core/arti!403 (comment 2786099)
-
Ian Jackson authored
-
Ian Jackson authored
-
Ian Jackson authored
This does not constitute any kind of stable API promise. But it might allow people to use our arti client code in novel ways.
-
Ian Jackson authored
-
Ian Jackson authored
This is just code motion and the minimal fixups.
-
Ian Jackson authored
Make ArtiConfigBuilder contain a TorClientConfigBuilder See merge request tpo/core/arti!401
-
Ian Jackson authored
-
Nick Mathewson authored
Follow-up from arti!318 See merge request tpo/core/arti!402
-
Ian Jackson authored
-
Nick Mathewson authored
Make update_config only conditionally exported; add semver-status update.
-
Nick Mathewson authored
Add flatfile DirMgr See merge request tpo/core/arti!318
-
Ian Jackson authored
This is an API break: now one must use `.tor()` to access the Tor configuration parts. But it is not a config file format break, because `#[serde(flatten)]`.
-
Ian Jackson authored
As per #371
-
Nick Mathewson authored
tests/chutney: Merge chutney-launching scripts See merge request tpo/core/arti!396
-
Ian Jackson authored
It turns out that the clone-and-hack in tests/chutney/arti-bench was not identical to the original in tests/chutney/setup. I diffed the two and preferred the version from arti-bench.
-
- Mar 10, 2022
-
-
Nick Mathewson authored
Formerly, the "launch a chutney network" code was duplicated in "setup" and "arti-bench", since "setup" always launched an arti proxy, while "arti-bench" didn't want that functionality. Now the "setup" script launches an arti proxy conditionally, depending on whether the "proxy" argument is given.
-
Ian Jackson authored
Drop config back-conversion from FooConfig to FooConfigBuilder See merge request tpo/core/arti!391
-
Nick Mathewson authored
arti-testing: support for simulated TCP breakage See merge request tpo/core/arti!392
-
Nick Mathewson authored
-
- Mar 09, 2022
-
-
eta authored
arti-bench: don't allocate a separate receive-buffer for each job Closes #391 See merge request tpo/core/arti!395
-
Ian Jackson authored
tor-chanmgr: Do not allocate an Internal error unless we mean it. Closes #383 See merge request tpo/core/arti!394
-
- Mar 08, 2022
-
-
Nick Mathewson authored
This makes heap profiling more viable. Closes #391.
-
Nick Mathewson authored
Previously we'd allocate an error as a place-holder here, but it's not a great idea to do that with a `Bug`: each `Bug` stores a whole stack trace, which uses a whole pile of allocations to construct. Now we keep an `Option<Error>` instead. Found while heap profiling. Closes #383.
-