[Date Prev][Date Next]
(ITS#4945) slapd drops connections during search results
Full_Name: Matthew Hardin
OS: Windows 2003
Submission from: (NULL) (220.127.116.11)
If Winsock returns EWOULDBLOCK while sending search results to a client, slapd
will stop sending results and close the connection.
The problem is in openldap/servers/slapd/result.c at line 173, where it
incorrectly checks errno. It should be checking sock_errno().
I note that HEAD already does this.