mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r7722: when we get a zero read, the connection is dead
(This used to be commit 060323530454edf21b217550b373513e5860146c)
This commit is contained in:
parent
7dcb8c26de
commit
91a79f2b24
@ -243,8 +243,7 @@ static void ldap_recv_handler(struct ldap_connection *conn)
|
||||
/* work out how much data is pending */
|
||||
status = socket_pending(conn->sock, &npending);
|
||||
if (!NT_STATUS_IS_OK(status) || npending == 0) {
|
||||
DEBUG(0,("ldap_recv_handler - pending=%d - %s\n",
|
||||
(int)npending, nt_errstr(status)));
|
||||
ldap_connection_dead(conn);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user