From ff360e7f142c6811567e7362e948a3befb4a23f8 Mon Sep 17 00:00:00 2001 From: John Barboza Date: Wed, 3 May 2017 16:50:28 -0400 Subject: [PATCH] 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 Reviewed-By: Santiago Gimeno --- src/unix/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/stream.c b/src/unix/stream.c index dbd04f2b..c1ec4866 100644 --- a/src/unix/stream.c +++ b/src/unix/stream.c @@ -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 &&