[Date Prev][Date Next]
Re: BSD/OS and TCP_NODELAY in slapd (ITS#760)
At 03:33 PM 9/21/00 +0000, firstname.lastname@example.org wrote:
>Full_Name: Erik R. Leo
>OS: BSD/OS 4.1
>Submission from: (NULL) (22.214.171.124)
>When the LDAP server (slapd) and the LDAP client (ldapsearch, e.g.) are both
>run on BSD/OS, performance suffers because TCP_NODELAY is only set on the
>"listen" socket and not on the socket that the transaction occurs on (the
>socket returned by the "accept") in servers/slapd/daemon.c.
Please note that this bug is in BSD/OS, not OpenLDAP, and should
be reported to BSD/OS maintainers. If at all possible, I rather
have BSD/OS fix their bug then to have to implement a workaround
in our code.
man 2 accept
The accept() argument extracts the first connection request
on the queue of pending connections, creates a new socket with the same
properties of s and allocates a new file descriptor for the socket.