Commit b30b5354 authored by Federico G. Schwindt's avatar Federico G. Schwindt

In probes treat a poll timeout as a recv error

parent 60ea7930
......@@ -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