Commit d154379e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a loop doing shutdown

parent cda99e35
......@@ -416,6 +416,10 @@ vca_accept_task(struct worker *wrk, void *arg)
VSL(SLT_Debug, ls->sock, "Too many open files");
vca_pace_bad();
break;
case EBADF:
VSL(SLT_Debug, ls->sock, "Accept failed: %s",
strerror(errno));
return;
default:
VSL(SLT_Debug, ls->sock, "Accept failed: %s",
strerror(errno));
......
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