cypherpunks
|
c613d55134
rust/protover: use .and_not_in() instead of .retain() in all_supported()
|
5 роки тому |
cypherpunks
|
7c26f88fd7
rust/protover: validate unknown protocol names use only allowed characters
|
5 роки тому |
cypherpunks
|
b88a2f28ae
rust/protover: remove version zero from tests
|
5 роки тому |
Isis Lovecruft
|
569b4e57e2
rust: Mirror TROVE-2018-005 fix in Rust protover implementation.
|
6 роки тому |
Isis Lovecruft
|
c65088cb19
rust: Fix ProtoSet and ProtoEntry to use the same DoS limits as C.
|
6 роки тому |
Isis Lovecruft
|
cd28b4c7f5
rust: Refactor protover::compute_for_old_tor().
|
6 роки тому |
Isis Lovecruft
|
493e565226
rust: Refactor protover tests with new methods; note altered behaviours.
|
6 роки тому |
Isis Lovecruft
|
35b86a12e6
rust: Refactor protover::is_supported_here().
|
6 роки тому |
Isis Lovecruft
|
2eb1b7f2fd
rust: Add new ProtoverVote type and refactor functions to methods.
|
6 роки тому |
Isis Lovecruft
|
fa15ea104d
rust: Add macro for `impl ToString for {Unvalidated}ProtoEntry`.
|
6 роки тому |
Isis Lovecruft
|
3c47d31e1f
rust: Add new protover::UnvalidatedProtoEntry type.
|
6 роки тому |
Isis Lovecruft
|
54c964332b
rust: Add new protover::ProtoEntry type which uses new datatypes.
|
6 роки тому |
Isis Lovecruft
|
60daaa68b1
rust: Add new protover::UnknownProtocol type.
|
6 роки тому |
Isis Lovecruft
|
e6625113c9
rust: Implement more memory-efficient protover datatype.
|
6 роки тому |
Isis Lovecruft
|
88204f91df
rust: Implement error types for Rust protover implementation.
|
6 роки тому |
Nick Mathewson
|
5af03c1ef3
rust protover: match the C implementation on empty-str cases
|
6 роки тому |
Nick Mathewson
|
b58a2febe3
Forbid u32::MAX as a protover range element in rust
|
6 роки тому |
Nick Mathewson
|
f69510ba4b
Rust protover compat: forbid more than MAX_VERSIONS_TO_EXPAND in a range
|
6 роки тому |
Isis Lovecruft
|
45c59eff6c
rust: Replace two `unwrap()`s in FFI code with `unwrap_or()`s.
|
6 роки тому |
Nick Mathewson
|
d9826b0a30
Merge remote-tracking branch 'frewsxcv/frewsxcv-protover'
|
6 роки тому |
Nick Mathewson
|
af049657eb
Stop claiming that compute_for_old_tor() returns pairs
|
6 роки тому |
Nick Mathewson
|
d8307cb0e9
Remove new unsafe {} use.
|
6 роки тому |
Isis Lovecruft
|
b85436c596
protover: Fix memleak in Rust impl of protover_compute_for_old_tor.
|
6 роки тому |
Isis Lovecruft
|
7ea9e080c5
protover: Fix memleak in Rust implementation.
|
6 роки тому |
teor
|
b67f010678
Add Link protocol version 5 to the supported protocols list in protover.rs
|
6 роки тому |
Corey Farwell
|
124caf28e6
Wrap types in protover.rs.
|
6 роки тому |
Corey Farwell
|
2529319f68
[fixup] this might be an improvement?
|
6 роки тому |
Corey Farwell
|
8ba5805bae
Remove unneeded heap allocations in protover.rs.
|
6 роки тому |
Chelsea Holland Komlo
|
1c50331b9a
annotate where C and Rust need to stay in sync
|
6 роки тому |
Nick Mathewson
|
039a776367
slight improvement to rust idiomicity
|
6 роки тому |