Commit a38f5eec authored by Federico G. Schwindt's avatar Federico G. Schwindt Committed by Lasse Karstensen

In probes treat a poll timeout as a recv error

parent 0226a3ed
......@@ -271,6 +271,8 @@ vbp_poke(struct vbp_target *vt)
if (tmo > 0)
i = poll(pfd, 1, tmo);
if (i == 0 || tmo <= 0) {
if (i == 0)
vt->err_recv |= 1;
VTCP_close(&s);
return;
}
......
Markdown is supported
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