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
Nadezhda Ivanova
OpenLDAP
Commits
ae6347ba
Commit
ae6347ba
authored
Jan 12, 2015
by
Howard Chu
Browse files
ITS#8022 an async connect may still succeed immediately
parent
60465845
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/request.c
View file @
ae6347ba
...
...
@@ -485,6 +485,10 @@ ldap_new_connection( LDAP *ld, LDAPURLDesc **srvlist, int use_ldsb,
if
(
rc
!=
-
1
)
{
srv
=
*
srvp
;
/* If we fully connected, async is moot */
if
(
rc
==
0
)
async
=
0
;
if
(
ld
->
ld_urllist_proc
&&
(
!
async
||
rc
!=
-
2
)
)
{
ld
->
ld_urllist_proc
(
ld
,
srvlist
,
srvp
,
ld
->
ld_urllist_params
);
}
...
...
Write
Preview
Supports
Markdown
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