Do not crash on encountering an unknown option in PosixSocket::SetSocketOptions (#4346)

* what's one more hacky bypass on this pile of already existing hacky bypasses amirite

* Stub only that one option vue needs
This commit is contained in:
kalaposfos13 2026-05-10 15:18:39 +02:00 committed by GitHub
parent 66112bc90a
commit 6e675c32f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -560,6 +560,9 @@ int PosixSocket::SetSocketOptions(int level, int optname, const void* optval, u3
return ConvertReturnErrorCode(ioctl(sock, FIONBIO, &sockopt_so_nbio));
#endif
}
case ORBIS_NET_SO_ACCEPTTIMEO:
LOG_ERROR(Lib_Net, "Unhandled option ORBIS_NET_SO_ACCEPTTIMEO");
return ORBIS_OK;
}
} else if (native_level == IPPROTO_IP) {
switch (optname) {