ECONNRESET
This commit is contained in:
parent
2cadfa167e
commit
f37fdb954f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue