Commit 24ac14da authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Pål Hermunn Johansen

EPIPE is a documented errno in tcp(7) on linux

Fixes: #2582
parent ef430670
......@@ -569,7 +569,7 @@ VTCP_Check(int a)
{
if (a == 0)
return (1);
if (errno == ECONNRESET || errno == ENOTCONN)
if (errno == ECONNRESET || errno == ENOTCONN || errno == EPIPE)
return (1);
#if (defined (__SVR4) && defined (__sun)) || defined (__NetBSD__)
/*
......
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