| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | | |
rtcompat: Set disable_built_in_roots with native_tls, to save memory with openssl
See merge request tpo/core/arti!2203
|
| | |/
| |
| |
| |
| |
| |
| | |
When using openssl on Linux, this saves us about 1.4 MB due to not
loading the default CAs and CRLs (which Tor doesn't use.)
Addresses part of #1027.
|
| |\ \
| |/
|/|
| |
| | |
dirmgr: Limit the number of mds that we will fetch from sqlite at once.
See merge request tpo/core/arti!2202
|
| | |
| |
| |
| |
| |
| | |
This should help limit our memory usage when restarting from cache.
Possible (imperfect) solution for #1027.
|
| |/ |
|
| |\
| |
| |
| |
| | |
relay: Add relay cargo feature flag and subcommand
See merge request tpo/core/arti!2182
|
| | |
| |
| |
| | |
Signed-off-by: David Goulet <[email protected]>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the optional non default feature flag "relay" that will be used to
enable relay support of arti.
This commit also adds the "relay" subcommand to arti binary conditionnal
on the feature flag in order to have a place holder starting point.
Signed-off-by: David Goulet <[email protected]>
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
RPC: Use RPC methods instead of the "ClientConnectionTarget" trait.
Closes #1427
See merge request tpo/core/arti!2192
|
| | | | |
|
| | | | |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On its own, this might not seem like a huge improvement, but it will
later let us implement these RPC methods for types that can't
reasonably implement ClientConnectionTarget.
It also serves as a proof of concept that special-method invocation
can actually work, so that we can build things like this in cases
where introducing a trait isn't practical.
Closes #1427
|
| |\ \
| | |
| | |
| | |
| | | |
RFC: Provide and use SometimesUnboundedSender in circuit reactor
See merge request tpo/core/arti!2172
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
If only I'd used a macro for these, but that's not entirely
straightforward.
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
Documentation tweaks in StorageConfig
See merge request tpo/core/arti!2197
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Script to check crate ownership
Closes #1462
See merge request tpo/core/arti!2196
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
maint/extract-md-links: Use /usr/bin/env for more flexibility.
Closes #1460
See merge request tpo/core/arti!2194
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I needed to use a virtual env to run this script (it doesn't work with
the mistune version packaged by arch), but found myself unable to
without changing the interpreter directive in `maint/extract-md-links`.
Closes #1460
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
RPC: Refactoring related to method invocation
See merge request tpo/core/arti!2190
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Every method is either "special" or not; therefore, it is always a
Bug if we look for an rpc_invoker and don't find one.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
The context will make it possible to invoke rpc methods.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This lets us get rid of a now-spurious `RequestContext` wrapper type
and an extra layer of indirection; it will also make it easier to
treat a Connection _as_ a context, so that we can have a context in
the socks-rpc interface code.
This patch removes a TODO about "treading carefully" when we make
this change. When I added that TODO, I had misremembered some
implementation details of the RPC object system.
|
| | | | |
| | | |
| | | |
| | | | |
This will allow us to implement rpc::Context on Connection directly.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Doing it this way will allow us to invoke methods without holding
the read lock on the table, implicitly or via the future.
I am not yet removing the methods on DispatchTable, since the tests
need them; I've added TODOs to revisit and remove later.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Formerly we used a Box. That was okay at first, but now that we
want RPC methods to be able to invoke other RPC methods, we don't
want the Invocable methods to have to consume the Context.
This requires that Context become Sync.
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
shadow test: bump shadow version to 3.2
See merge request tpo/core/arti!2195
|
| |/ / /
| | |
| | |
| | |
| | | |
This includes a fix for a (rare) panic-causing race condition, and misc
other additions and improvements.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
Remove semver.md files.
See merge request tpo/core/arti!2193
|
| |/ /
| |
| |
| | |
The 1.2.4 release is out, so we won't be needing these anymore.
|
| |\ \
| | |
| | |
| | |
| | | |
tor-memquota: Downgrade to 0.18
See merge request tpo/core/arti!2191
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I was unable to publish tor-memquota 0.19 because I don't have ownership
```
error: failed to publish to registry at https://crates.io
Caused by:
the remote server responded with an error (status 403 Forbidden): this crate exists but you don't seem to be an owner. If you believe this is a mistake, perh
aps you need to accept an invitation to be an owner before publishing.
```
Let's downgrade it for now.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Version bumps for the 1.2.4 release
Closes #1461
See merge request tpo/core/arti!2189
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Done using
```
(cd crates/hashx/bench && cargo update)
(cd crates/equix/bench && cargo update)
```
|