[Date Prev][Date Next]
Re: (ITS#3528) add time limit options for bind and exop requests
>Full_Name: Nalin Dahyabhai
>OS: Linux 2.6
>Submission from: (NULL) (126.96.36.199)
>If I'm reading the code right, all bind requests and exop requests issued by
>libldap are allowed to block indefinitely.
>In cases where a TCP connection to a server will succeed, but the server is
>unresponsive (one contrived example would be if the server were stopped by
>SIGSTOP), a client which connects and attempts a simple bind will block until
>the server responds, which may be never.
>Additional API-level options which influence this behavior on the client side
>could be useful for working around this scenario.
At the moment it appears that the existing LDAP_OPT_TIMEOUT timeout is
not used anywhere in the library. I think it would be appropriate to use
this existing option for all of the requests instead of adding more
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support