mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
Backout the input exhaustion change, it loops. Still looking for
the right way.
This commit is contained in:
parent
f4eb2feba5
commit
f0f29cd82e
1 changed files with 3 additions and 2 deletions
|
|
@ -817,11 +817,12 @@ int connection_read(ber_socket_t s)
|
|||
#define CONNECTION_INPUT_LOOP 1
|
||||
|
||||
#ifdef DATA_READY_LOOP
|
||||
while(rc >= 0 && ber_pvt_sb_data_ready(&c->c_sb))
|
||||
while(!rc && ber_pvt_sb_data_ready(&c->c_sb))
|
||||
#elif CONNECTION_INPUT_LOOP
|
||||
while(rc >= 0)
|
||||
while(!rc)
|
||||
#endif
|
||||
{
|
||||
/* How do we do this without getting into a busy loop ? */
|
||||
rc = connection_input( c );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue