Date: Tue, 24 Nov 2015 09:53:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196061] setsockopt(s, IPPROTO_TCP, TCP_NODELAY, ...) returns -1 && errno == 0 Message-ID: <bug-196061-8-SedupCdFwM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196061-8@https.bugs.freebsd.org/bugzilla/> References: <bug-196061-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196061 Mari=C3=A1n =C4=8Cern=C3=BD <majo-bugs.freebsd.org@cerny.sk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |majo-bugs.freebsd.org@cerny | |.sk --- Comment #1 from Mari=C3=A1n =C4=8Cern=C3=BD <majo-bugs.freebsd.org@cern= y.sk> --- This is probably not be related. On FreeBSD 9.3 it returns -1 and errno=3D22 (EINVAL) for me in passenger: Ser/Server.h:655: [ApiServer] Cannot disable Nagle's algorithm on a TCP soc= ket: Invalid argument (errno=3D22) if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(int)) =3D=3D= -1 && errno !=3D ENOPROTOOPT && errno !=3D ENOTSUP && errno !=3D EXTENSION_EOPNOTSUPP) { int e =3D errno; SKS_WARN("Cannot disable Nagle's algorithm on a TCP socket: " << strerror(e) << " (errno=3D" << e << ")"); } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196061-8-SedupCdFwM>