summaryrefslogtreecommitdiff
path: root/9agents/src/main.zig
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 /9agents/src/main.zig
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 '9agents/src/main.zig')
0 files changed, 0 insertions, 0 deletions