zos: do not inline OOB data by default
It was previously assumed that OOB data had to be inlined but that is incorrect. PR-URL: https://github.com/libuv/libuv/pull/1347 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
This commit is contained in:
parent
573e7fe8fc
commit
ff360e7f14
@ -390,7 +390,7 @@ failed_malloc:
|
||||
|
||||
|
||||
int uv__stream_open(uv_stream_t* stream, int fd, int flags) {
|
||||
#if defined(__APPLE__) || defined(__MVS__)
|
||||
#if defined(__APPLE__)
|
||||
int enable;
|
||||
#endif
|
||||
|
||||
@ -409,7 +409,7 @@ int uv__stream_open(uv_stream_t* stream, int fd, int flags) {
|
||||
return -errno;
|
||||
}
|
||||
|
||||
#if defined(__APPLE__) || defined(__MVS__)
|
||||
#if defined(__APPLE__)
|
||||
enable = 1;
|
||||
if (setsockopt(fd, SOL_SOCKET, SO_OOBINLINE, &enable, sizeof(enable)) &&
|
||||
errno != ENOTSOCK &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user