| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit improves the empty body check by failing if it has happened.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit adds support for the directory backend plugin kludge by
adding a new wrapper struct called `DirMirrorWithBackend`.
It also moves http-body-util from a development dependency to a real
dependency, as this makes working with hyper a lot more comfortable.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit adds marker traits as dependencies for implementations of
the DirBackendPlugin trait, which will be required for intergration
with hyper.
Works like a charm, as DirMgr itself implements all three of these
already.
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
No longer required.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fix: the number of dns queries should be 1
See merge request tpo/core/arti!4281
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
tor-proto: Handle incoming CREATE2 with ntor-v3 handshakes
See merge request tpo/core/arti!4176
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
constructor
Replaces `TryFrom<SubprotocolRequest> for HandshakeSubprotocols`.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is both recognized and unrecognized protocol kinds.
|
| | | |/ / / /
| |/| | | | |
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit fixes an outdated rustdoc comment with regard to the misc.rs
types and their publicity.
Most of these types have been public for a while now and this comment is
outdated.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Implement kludge to allow use of DirMgr as a backend for DirServer.
See merge request tpo/core/arti!4298
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Part of #2657
|
| | | | | | | |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is part of #2657. The goal here is to use DirMgr as a
temporary backend for tor-dirserver, so that we can have a
sort-of-working directory cache that can be used for testing guards
before tor-dirserver is complete.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit removes the getters in database.rs. If the overall
tor-netdoc refactoring has taught us something, then that the use of
getters can be quite annoying.
Therefore, this commit removes the getters and marks the respective
fields as pub. Given that these data types are pub(crate) only right
now, it does not matter a lot anyways.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
arti: Fix compilation of http-connect without rpc
Closes #2653
See merge request tpo/core/arti!4296
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
Closes #2653.
|
| |/ / / / |
|
| | | | |
| | | |
| | | |
| | | | |
Needed for tor-dirserver testing.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ci,maint: Update container image versions
Closes #2618
See merge request tpo/core/arti!4280
|
| | |/ / / |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use an IPv6 loopback address instead of the unspecified address when
creating test servers. The address returned by binding to [::]:0 is not
valid as a connection target on OpenBSD.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-proto: Upgrade statrs dev-dependency and remove default features
See merge request tpo/core/arti!4283
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This doesn't appear to be needed, and removes an nalgebra dev-dependency
which should help build times.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
```bash
cargo upgrade --incompatible allow -p statrs
```
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
test(dirclient): invalid utf-8 bytes in response body
See merge request tpo/core/arti!4277
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
tor-netdoc: Fix left-over incompletes
See merge request tpo/core/arti!4273
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This removes two left over incomplete feature flags.
Follow-up to c20df8c5f879806f7044c6e26d9e69404c88cfa3.
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | |
| | | | | |
tor-netdoc: Remove outdated top-level RouterDesc comment
See merge request tpo/core/arti!4274
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This feature is no longer present and we now always compile with
router descriptors enabled, deferring the optimization to the
Rust compiler and linker respectively.
Follow-up to arti!3972
|
| | |/ /
|/| |
| | | |
This reverts merge request !4264
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Upgrade to weak-table 0.4.0
See merge request tpo/core/arti!4278
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Weak-table 0.4.0 replaces the backend with hashbrown for improved
performance and correctness. It adds a bunch of APIs for parity
with std::collections, and deprecates the risky `ahash` feature.
(I'm the maintainer at this point.)
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Make RouterDesc item docs consistent
See merge request tpo/core/arti!4279
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Right now, the documentation for the items is inconsistent in the sense
that some items contain specification links whereas others contain
copies of the specification.
This has historic reasons during the development, but ultimately links
to the specification are superior, as they provide up-to-date
information and are the canonical source.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Disintegrate types::misc::routerdesc
Closes #2555
See merge request tpo/core/arti!4276
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
No functional change, purely formatting.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit moves the remainder of misc::routerdesc into a new module
called types::descriptor, which contains the shared types needed in
router descriptors as well as extra-info documents.
Please review with --color-moved --color-moved-ws=allow-indentation-change,
as this is mainly code motion, except for parts where inputs and type
aliases had to be fixed.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit moves all non-signature related parts from
types::misc::routerdesc into doc::routerdesc, because they are only
required for that specific netdoc.
The signature related parts will be moved in the next commits, as we
will need those for extra info documents as well.
Review with --color-moved --color-moved-ws=allow-indentation-change.
This is mostly code motion with small import/type name fixes being the
notable exception.
|