S010: parts refused together lower the host's count

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-25 06:47:01 -06:00
commit 33107f1ac4

View file

@ -115,6 +115,7 @@ Verified: `--test auth` green (21: redirect leaks, store, logs and arguments sea
- A proxy is `system`, `direct`, `http://…`, `https://…` or `socks5://…`. `sites.trust.refused(host)` is the certificate to put in `Site::certificate` when the user says so.
Not done: the exception shows a fingerprint only (no issuer or dates); proxies that ask for anything but a plain login; FTP logins; connections of a host are still first come, first served; nothing deletes a task's keyring item yet, when the task goes for good or gets another `secret` (Edit, `Command::Continue`): whoever first saves task secrets (the connector) must add that, and keep items another task shares (KeepBoth). Never tried against the real keyring, portal, servers or proxies.
Seen: until fixed, a test's `dbus-daemon --session` started real services from the system's list (gnome-keyring's starter found the running one and ended; portal, gvfs). No secret was read or written, nothing was left over. `auth.rs` has a bus without services; `recover.rs` still has the old one, but asks for no such names. Boxes were ticked together at the end, against rule 3.
Fixed after review: `matrix` (max_conns) was flaky, also at 49f6e5d (2 of 10 under load): parts that started together and were all refused didn't count as too many, so every retry began with two again. Now the host stands fewer for a while (Retry-After and three windows), test `two_refused_at_once_come_back_as_one`; the test's `max_wait` is above the server's 1 s pause, as in real use. 12 of 12 under load.
## Later
-