tor/src/rust/protover
Isis Lovecruft f2daf82794
rust: Fix ProtoSet and ProtoEntry to use the same DoS limits as C.
Previously, the limit for MAX_PROTOCOLS_TO_EXPAND was actually being applied
in Rust to the maximum number of version (total, for all subprotocols).
Whereas in C, it was being applied to the number of subprotocols that were
allowed.  This changes the Rust to match C's behaviour.
2018-04-02 19:20:40 +00:00
..
tests rust: Fix ProtoSet and ProtoEntry to use the same DoS limits as C. 2018-04-02 19:20:40 +00:00
Cargo.toml Merge branch 'maint-0.3.3' 2018-03-21 17:05:42 -04:00
errors.rs rust: Implement error types for Rust protover implementation. 2018-04-02 18:27:39 +00:00
ffi.rs rust: Refactor protover::compute_for_old_tor(). 2018-04-02 19:20:36 +00:00
lib.rs rust: Add new protover::UnvalidatedProtoEntry type. 2018-04-02 19:20:27 +00:00
protoset.rs rust: Fix ProtoSet and ProtoEntry to use the same DoS limits as C. 2018-04-02 19:20:40 +00:00
protover.rs rust: Fix ProtoSet and ProtoEntry to use the same DoS limits as C. 2018-04-02 19:20:40 +00:00