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 EFAULT:
|
||||
case EINVAL:
|
||||
case ENOTCONN:
|
||||
LOG(FATAL) << error;
|
||||
UNREACHABLE();
|
||||
default:
|
||||
LOG(WARNING) << error;
|
||||
// fallthrough
|
||||
case ENOTCONN:
|
||||
case EIO:
|
||||
case ENOBUFS:
|
||||
case ENOMEM:
|
||||
|
Loading…
Reference in New Issue
Block a user