1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

Added bench.ps1, Made a CRL file not there yet revoke nothing for clients too

- bench.ps1 runs the benchmarks (push_rate, replication_rate,
  compare_with_old) in release mode: -Only, -Sync full|normal. Plan
  step 13 done, every step of the plan is.
- A CRL file named in client.toml that isn't there yet: nothing revoked
  (the tool, Python's from_file), as on the server, which now warns in
  its log. A path given to the DLL's SetCrl or Client(crl=...) stays a
  FileError. Decided in revamp.md, dropped from known-issues.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 10:36:59 +01:00
parent 34eb6f4600
commit 39ba7fce6c
18 changed files with 115 additions and 31 deletions
-7
View File
@@ -123,13 +123,6 @@ Reproduce one before fixing it, and move it up (or drop it) once known.
`GetMessages` answers `UnknownName` for a node without messages
anywhere and none for one with messages in another topic
(`reader.rs`, `messages`). Fix: none in both cases.
- **A CRL file that isn't there.** The server takes it as nothing
revoked (`load_revocations`, `bakashrot-server/src/lib.rs`), the
`bakashrot` tool refuses to start when `client.toml`'s `crl` names a
missing file. Either may be right (a server that starts before its
first CRL; a client that must not skip the check): choose one and
say it in the docs. A server whose CRL file was deleted by mistake
revokes nothing, silently.
- **No limits per client.** Any number of connections (each a task and
its buffers), any amount pushed: an allowed client can fill the disk
or the server's memory. Fine for the threat model; first thing to