Skip to content
Snippets Groups Projects
Commit 9a34ccd7 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Update watchdog timer on transfer fd activity.

refs #91
parent 6a98d78a
Branches
Tags
No related merge requests found
......@@ -1124,6 +1124,9 @@ int xfr_worker(dthread_t *thread)
socket_close(set.pfd[i].fd);
fdset_remove(&set, i);
continue; /* Stay on the same index. */
} else {
/* Connection is active, update watchdog. */
fdset_set_watchdog(&set, i, conf()->max_conn_idle);
}
/* Next active. */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment