Re: ldap_simple_bind call blocks with SSL connection, when DS hangs
Anton Bobrov <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Organization | Sun Microsystems, Inc. |
| Message-ID | <[email protected]> |
> What is the default value of PRLDAP_OPT_IO_MAX_TIMEOUT parameter? Is it > LDAP_X_IO_TIMEOUT_NO_TIMEOUT (i.e., -1)? yep, thats it. > I have actually already tried by resetting PRLDAP_OPT_IO_MAX_TIMEOUT to > -1 after completion of bind operation, and didn't come across any new > block when DS is in hang state. Are you aware of any other issues that > we may face later, as we are resetting the PRLDAP_OPT_IO_MAX_TIMEOUT > parameter to -1. thats most likely because of session/handle defaults when you set a default value not specific to any particular session/handle it will only apply to new handles/sessions created after the value has been set. to change the value on a session/handle that already exist you should pass related argument/s to prldap_set_session_option instead eg prldap_set_session_option( ld, [...the rest...]). give it a try.