From 9dd6f001c7d5eee987cbd305a79d1b1d011b83f5 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 12 Oct 2026 17:23:34 -0300 Subject: 9web: backpressure asynchronous replies under parallel site load Reserve output space for an async completion plus the already-dispatched synchronous handler. Wait on a condition without the catalogue mutex, preserving cancellation and connection-slot lifetime. Abort HTTP streaming on an upstream error instead of hiding a truncated response. Reproduced the former failure with concurrent live cafe assets. Add exact-hash load checks with 16 readers, mixed HEAD and 40 interrupted downloads; validate 80 multi-frame responses over 37 live files. All five live sites, mounted 9P browsing, protocol/catalogue/host/HTTP/mux/UI tests and 32 original E2E scenarios pass. Deploy corrected service on sole [::]:8090. See docs/namespace-sites-validation.md. --- docs/catalog.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/catalog.md') diff --git a/docs/catalog.md b/docs/catalog.md index bc308c2..d8757b0 100644 --- a/docs/catalog.md +++ b/docs/catalog.md @@ -287,6 +287,9 @@ control writes, non-seekable EOF, blocking FUSE reads concurrent with other requests, and 40 flush/clunk cycles without exhausting background readers. The Chromium test navigates a real mounted fixture, reads a 180 KB file and opens/stops a live event stream directly from its directory entry. +It also checks exact multi-frame bytes under parallel load, alongside canceled +downloads and synchronous metadata requests. Asynchronous host-read replies +wait for output space rather than overfilling the shared 9P connection. ## Publication and namespace policy -- cgit v1.3