mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
ITS#818, ITS#980, ITS#1234 ldapsearch/referral hang - set refer_cnt to 0
after v3refs have been chased. They are fully processed by the time we get back, so we should just return the current result message to the caller.
This commit is contained in:
parent
1bbd51da77
commit
dc3e5fb99d
1 changed files with 2 additions and 1 deletions
|
|
@ -647,7 +647,8 @@ try_read1msg(
|
|||
{
|
||||
tmpber = *ber; /* struct copy */
|
||||
if ( v3ref == 1 ) {
|
||||
; /* V3 search reference or V3 referral sucessfully chased */
|
||||
/* V3 search reference or V3 referral successfully chased */
|
||||
refer_cnt = 0;
|
||||
} else if ( ber_scanf( &tmpber, "{iaa}", &lderr,
|
||||
&lr->lr_res_matched, &lr->lr_res_error )
|
||||
!= LBER_ERROR ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue