KeepAlive: Better session cleanup after KeepAlive failure

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2025-02-13 12:53:32 +00:00
1 parent 238694fe1a
commit 60fbbd3e3b
7 files changed
+77 -24

No files matched your search

+1 -1
View File
@@ -2101,7 +2101,7 @@ main(int argc, char **argv) {
obs_ms -= result;
}
}
if (ready && repeat_count) {
if ((ready || obs_ms) && repeat_count) {
/* Send off next request if appropriate */
if (repeat_ms > (unsigned)result) {
repeat_ms -= (unsigned)result;