| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
The BridgeSet type does not necessarily need further changes... and
if it gets them, it won't be because of this comment.
|
| | | |
| | |
| | |
| | | |
rsa 0.7.0 has been yanked.
|
| | | |
| | |
| | |
| | | |
It was introduced in Rust 1.57.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |/
|/| |
|
| |\ \
| | |
| | |
| | |
| | | |
Use ErrorKind::TorAccessFailed for misbehaving bridges
See merge request tpo/core/arti!842
|
| | | |
| | |
| | |
| | | |
(Use semantic linefeed for the doc comment.)
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
bridge descs: Add tests for process_document
See merge request tpo/core/arti!841
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Remove TODO re BridgeDescDownloadConfig defaults
See merge request tpo/core/arti!839
|
| | |/ / |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
We have a separate BridgeDescMgr, rather than reusing DirMgr, so we
will not be implementing BridgeDescProvider for DirMgr.
|
| |/ / |
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
Upgrade to clap 3
Closes #616
See merge request tpo/core/arti!830
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also replace Arg::takes_value with Arg::action to configure flags
that don't take parameters vs options that do.
This makes it easy to upgrade to clap 4.
Tested deprecations with:
cargo check --workspace --all-features --features clap/deprecated
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This removes the last cargo audit override (for the unmaintained
ansi_term).
Don't mark options as required when they have default values:
see <https://github.com/clap-rs/clap/pull/3793>.
|
| |\ \
| | |
| | |
| | |
| | | |
Downgrade and/or remove a few misc "TODO pt-client" comments
See merge request tpo/core/arti!838
|
| | | |
| | |
| | |
| | | |
These are structure-internal things we can solve later, if ever.
|
| | | |
| | |
| | |
| | | |
renamings are now #623. Code movement can happen later.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Persistently cache bridge descriptors
Closes #619
See merge request tpo/core/arti!831
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is more consistent with our naming elsewhere.
Suggested-by: Nick Mathewson <[email protected]>
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/831#note_2851764
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
The current test case doesn't use this.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This introduces the new API functions to Store.
But currently they are all no-ops.
So all this machinery doesn't actually do anything.
Also, it changes the API to the mockable downloader, to allow it to
support if-modified-since. So this isn't used either. But it is more
convenient to do this all at once in BridgeDescManager, since care
needs to be taken about the intraction between if-modified-since and
the persistent cache.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We use the one in the dirmgr. That means that our constructor now has
to take a dirmgr. And, the dirmgr must have a circmgr.
This is all rather odd, TBH.
Add .. to the binding of the return values from setup, as
future-proofing.
The tests now need to provide a Store too. Make the sqlite::new_empty
function pub(crate) so we can use it.
We must retain the _db_tmp_dir, since when it goes away the tmp
directory is deleted and the db goes readonly.
|
| | | | |
| | | |
| | | |
| | | | |
This lets us see the log messages. They look fine, as it happens.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Resolve `TODO pt-client` entries in linkspec
See merge request tpo/core/arti!836
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This resolves a number of TODOs.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is not something we need to solve for 1.1.0 (and it might not
need to be solved ever).
|
| | | | | |
| | | | |
| | | | |
| | | | | |
We didn't find a use for this.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since there are (or soon will be) parsing restrictions on this type,
we don't want to inline it as a simple Vec.
|
| |\ \ \ \ \
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Small misc yaks for bridge descriptor persistence
See merge request tpo/core/arti!828
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This allows use with tor_error::Report.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
The bridge descriptor manager is going to want this.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will let us share it with the bridge descriptor manager.
(As discussed with Nick.)
|