[Bug 196061] New: setsockopt(s,IPPROTO_TCP,TCP_NODELAY,...) returns -1 && errno == 0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 17 13:45:53 UTC 2014
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 at FreeBSD.org
Reporter: ve3wwg at 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.
More information about the freebsd-bugs
mailing list