mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
More for prev commit
This commit is contained in:
parent
01cf75383e
commit
673405bc2e
@ -199,14 +199,12 @@ static long send_ldap_ber(
|
||||
err, sock_errstr(err), 0 );
|
||||
|
||||
if ( err != EWOULDBLOCK && err != EAGAIN ) {
|
||||
conn->c_writers--;
|
||||
ldap_pvt_thread_mutex_unlock( &conn->c_write1_mutex );
|
||||
connection_closing( conn, "connection lost on write" );
|
||||
|
||||
ldap_pvt_thread_mutex_unlock( &conn->c_mutex );
|
||||
ldap_pvt_thread_mutex_lock( &conn->c_write1_mutex );
|
||||
|
||||
ret = -1;
|
||||
break;
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* wait for socket to be write-ready */
|
||||
|
Loading…
Reference in New Issue
Block a user