This is rather strange.  One possible fix for this might be to fake an
EAGAIN error if write() ever returns 0.  Can you file a bug in bugzilla
against me?

Thanks,
Dan

"Devendra Badhani" <[EMAIL PROTECTED]> writes:
> Hi there,
> 
>    I have gone futher in exploration of this
> problems and is seems that "abandon" is not
> really blocking but the further down the
> call chain "ber_flush" is getting stuck in
> the do-while loop :
> ------------
> do {
> .
> .
> .
> } while ( towrite > 0 );
> ------------
> 
>   This is happening in cases where the request
> is abandoned and LDAP server is pounded with
> too many requests at a very high rate.
> 
>   Any suggestions, help will be greatly appreciated.
> 
> thanks,
> Deven
> 
> 
> >  documentation :
> >  ------------
> >  asyncOpt=1;
> >  ldap_set_option(ldapHandle,LDAP_OPT_ASYNC_CONNECT,&asyncOpt);
> >  timeout = 30000
> >  ldap_set_option( ldapHandle, LDAP_X_OPT_CONNECT_TIMEOUT, &timeout )
> >  -------------
> >
> >    I am developing on linux. Has anybody else faced similar
> >  problem? Is this a known issue and is there a fix available
> >  for the same?
> >
> > thanks,
> > Deven
> >
> >
> 
> 



Reply via email to