mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Revise last commit
This commit is contained in:
parent
964aa48c37
commit
5c125d19a9
1 changed files with 4 additions and 1 deletions
|
|
@ -1545,6 +1545,9 @@ int connection_read(ber_socket_t s)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
connection_close( c );
|
connection_close( c );
|
||||||
|
connection_return( c );
|
||||||
|
ldap_pvt_thread_mutex_unlock( MCA_GET_CONN_MUTEX(s) );
|
||||||
|
return 0;
|
||||||
|
|
||||||
} else if ( rc == 0 ) {
|
} else if ( rc == 0 ) {
|
||||||
void *ssl;
|
void *ssl;
|
||||||
|
|
@ -1578,7 +1581,7 @@ int connection_read(ber_socket_t s)
|
||||||
!ber_sockbuf_ctrl( c->c_sb, LBER_SB_OPT_DATA_READY, NULL ) )
|
!ber_sockbuf_ctrl( c->c_sb, LBER_SB_OPT_DATA_READY, NULL ) )
|
||||||
{
|
{
|
||||||
#ifdef SLAP_LIGHTWEIGHT_DISPATCHER
|
#ifdef SLAP_LIGHTWEIGHT_DISPATCHER
|
||||||
if( rc == 0 ) slapd_set_read( s, 1 );
|
slapd_set_read( s, 1 );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
connection_return( c );
|
connection_return( c );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue