aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpsys.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-04-03 18:41:26 +0200
committerStefan Boberg <[email protected]>2026-04-03 18:41:26 +0200
commit6f5afc6bbb74b4ccf5f09e74d5046368918455d6 (patch)
tree10ea00e76508ac26f13704ae11c7f3ff922841bb /src/zenhttp/servers/httpsys.cpp
parentRemove default member initializers and static default LogPoint from LogMessage (diff)
downloadzen-6f5afc6bbb74b4ccf5f09e74d5046368918455d6.tar.xz
zen-6f5afc6bbb74b4ccf5f09e74d5046368918455d6.zip
Fix async Horde agent recovery on connection errors
- Add HandleError() to AsyncComputeSocket that closes the socket and fires all detach handlers so agents learn the connection is dead - Call HandleError() from all recv/send error paths (5 locations) - Add IsDetached() to AsyncAgentMessageChannel - Check IsDetached() in OnPollResponse and OnUploadResponse to break the infinite poll loop that occurred when None was misinterpreted as a timeout instead of a connection loss - Enable async I/O by default (UseAsyncIo = true)
Diffstat (limited to 'src/zenhttp/servers/httpsys.cpp')
0 files changed, 0 insertions, 0 deletions