Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2014 13:45:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196061] New: setsockopt(s,IPPROTO_TCP,TCP_NODELAY,...) returns -1 && errno == 0
Message-ID:  <bug-196061-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196061

            Bug ID: 196061
           Summary: setsockopt(s,IPPROTO_TCP,TCP_NODELAY,...) returns -1
                    && errno == 0
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: ve3wwg@gmail.com

setsockopt(s,IPPROTO_TCP,TCP_NODELAY,...) returns -1 as if it has failed, but
errno == 0. This occurs on an IPv4 socket, newly accepted by:

   accept4(...,SOCK_NONBLOCK|SOCK_CLOEXEC);

It appears that the setsockopt() call has succeeded because there seems to be
some improvement in the http server performance after the call.

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