]> git.sur5r.net Git - openldap/commit
First cut to truly async connect:
authorPierangelo Masarati <ando@openldap.org>
Sun, 7 Jan 2007 19:20:46 +0000 (19:20 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 7 Jan 2007 19:20:46 +0000 (19:20 +0000)
commitaa3c9bad3e7c98b11ab910d3e3e5c107f76f24cf
tree8b9f03304291ac52b2d63191a43146079a85ce7a
parentf38eee8df16c40921746f6b85a39e349b625e14f
First cut to truly async connect:
- after connect(2), if async the connection is in "connecting" state
- the first time a request is sent, "connecting" conns are polled
- in case of success, the request is sent
- in case still connecting, LDAP_X_CONNECTING is returned;
  clients are expected to retry later
- the "async" behavior must be explicitly enabled by setting
  the LDAP_OPT_CONNECT_ASYNC option

"local" connections need work
include/ldap.h
libraries/libldap/ldap-int.h
libraries/libldap/options.c
libraries/libldap/os-ip.c
libraries/libldap/request.c