summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-12 16:00:23 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:16 -0300
commit48281b473571d93d5a35d2250213902d1411de40 (patch)
tree1800004710583d5b73d73775bf0e5326814fcc25 /docs
parentd4dfee52a67d2e2b9a52f7e7b18b3b3cc185fac4 (diff)
downloadcloud9-48281b473571d93d5a35d2250213902d1411de40.tar.gz
cloud9-48281b473571d93d5a35d2250213902d1411de40.zip
9web: allow HTTP listener restarts without sharing live ports
Set SO_REUSEADDR before binding Linux HTTP sockets so recent connections do not block a systemd restart. Avoid SO_REUSEPORT: the std.Io combined reuse option would permit another live process to bind the same endpoint. Return the listener to std.Io for cancellable accepts. Exercise immediate dashboard/site restarts after HTTP traffic and rejection of a competing live listener in the Chromium suite. Catalogue, HTTP filesystem and all 32 original E2E scenarios also pass.
Diffstat (limited to 'docs')
-rw-r--r--docs/catalog.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/catalog.md b/docs/catalog.md
index 24b6fb9..79e5580 100644
--- a/docs/catalog.md
+++ b/docs/catalog.md
@@ -181,6 +181,8 @@ history, direct tab links, builds through `/fs`, logs in the file browser,
preservation of unsaved edits and focused controls, and mobile layout. It writes
inspection screenshots to `.zig-cache/catalog-ui/`. It uses the installed
`google-chrome-stable` binary (or `CLOUD9_CHROME`), with no npm dependencies.
+It also checks that live HTTP ports stay exclusive and recent connections do not
+prevent an immediate restart of the dashboard or site listeners.
## Installed workstation configuration