Skip site navigation (1)Skip section navigation (2)
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=196061

Marián Černý <majo-bugs.freebsd.org@cerny.sk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |majo-bugs.freebsd.org@cerny
                   |                            |.sk

--- Comment #1 from Marián Černý <majo-bugs.freebsd.org@cerny.sk> ---
This is probably not be related.

On FreeBSD 9.3 it returns -1 and errno=22 (EINVAL) for me in passenger:

Ser/Server.h:655: [ApiServer] Cannot disable Nagle's algorithm on a TCP socket:
Invalid argument (errno=22)

    if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(int)) == -1
     && errno != ENOPROTOOPT
     && errno != ENOTSUP
     && errno != EXTENSION_EOPNOTSUPP)
    {
        int e = errno;
        SKS_WARN("Cannot disable Nagle's algorithm on a TCP socket: " <<
            strerror(e) << " (errno=" << e << ")");
    }

-- 
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>