Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
041b0123
Commit
041b0123
authored
Apr 01, 2015
by
Howard Chu
Committed by
Quanah Gibson-Mount
Apr 03, 2015
Browse files
ITS#8090 fix for async connect
parent
0365b3c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/request.c
View file @
041b0123
...
...
@@ -128,7 +128,10 @@ ldap_send_initial_request(
if
(
ber_sockbuf_ctrl
(
ld
->
ld_sb
,
LBER_SB_OPT_GET_FD
,
&
sd
)
==
-
1
)
{
/* not connected yet */
rc
=
ldap_open_defconn
(
ld
);
if
(
rc
==
0
)
{
ber_sockbuf_ctrl
(
ld
->
ld_defconn
->
lconn_sb
,
LBER_SB_OPT_GET_FD
,
&
sd
);
}
}
if
(
ld
->
ld_defconn
&&
ld
->
ld_defconn
->
lconn_status
==
LDAP_CONNST_CONNECTING
)
rc
=
ldap_int_check_async_open
(
ld
,
sd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment