ECONNRESET

This commit is contained in:
Olof Hagsand 2018-08-27 20:20:43 +00:00
parent 2cadfa167e
commit f37fdb954f

View file

@ -247,7 +247,7 @@ atomicio(ssize_t (*fn) (int, void *, size_t),
} }
else if (errno == EAGAIN) else if (errno == EAGAIN)
continue; continue;
else if (errno == EPEER) else if (errno == ECONNRESET)/* Connection reset by peer */
res = 0; res = 0;
case 0: /* fall thru */ case 0: /* fall thru */
return (res); return (res);