diff options
| author | Stefan Boberg <[email protected]> | 2026-04-03 18:41:26 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-03 18:41:26 +0200 |
| commit | 6f5afc6bbb74b4ccf5f09e74d5046368918455d6 (patch) | |
| tree | 10ea00e76508ac26f13704ae11c7f3ff922841bb /src/zenhttp/servers/httpsys.cpp | |
| parent | Remove default member initializers and static default LogPoint from LogMessage (diff) | |
| download | zen-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