Make ENOTCONN non-fatal error, because of iOS.
GitOrigin-RevId: a218c47dc8972e0813318d2653635b72ecb720ce
This commit is contained in:
parent
e9f3bcbd4d
commit
c29ff63fa6
@ -358,12 +358,12 @@ Result<size_t> Fd::read(MutableSlice slice) {
|
|||||||
case ENXIO:
|
case ENXIO:
|
||||||
case EFAULT:
|
case EFAULT:
|
||||||
case EINVAL:
|
case EINVAL:
|
||||||
case ENOTCONN:
|
|
||||||
LOG(FATAL) << error;
|
LOG(FATAL) << error;
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
default:
|
default:
|
||||||
LOG(WARNING) << error;
|
LOG(WARNING) << error;
|
||||||
// fallthrough
|
// fallthrough
|
||||||
|
case ENOTCONN:
|
||||||
case EIO:
|
case EIO:
|
||||||
case ENOBUFS:
|
case ENOBUFS:
|
||||||
case ENOMEM:
|
case ENOMEM:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user