* Adds RecentByIp * Removes new [cfg(not(test))]s, supports configurable max_conn_per_ip in RecentByIp and account_inbound_connections Updates tests * Uses self.time_limit instead of constant * Adds sleep after dropping connections Uses partition_point & split_off Moves tests to separate module * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> * Always prune before adding * Tweak comments * Move the time calculation outside the binary search closure --------- Co-authored-by: teor <teor@riseup.net> |
||
|---|---|---|
| .. | ||
| proptest-regressions | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| LICENSE | ||