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:
Howard Chu 2002-04-16 12:53:13 +00:00
parent 1bbd51da77
commit dc3e5fb99d

View file

@ -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 ) {