Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
c7a2fe23
Commit
c7a2fe23
authored
Sep 03, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5606
parent
6e62c293
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
c7a2fe23
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.12 Engineering
Fixed slapd socket closing on Windows (ITS#5606)
Fixed slapd-meta quarantine behavior (ITS#5592)
Fixed slapo-constraint string termination (ITS#5609)
Fixed slapo-rwm callback cleanup (ITS#5601)
...
...
servers/slapd/daemon.c
View file @
c7a2fe23
...
...
@@ -79,7 +79,11 @@ Listener **slap_listeners = NULL;
#define SLAPD_LISTEN_BACKLOG 1024
#endif
/* ! SLAPD_LISTEN_BACKLOG */
static
ber_socket_t
wake_sds
[
2
];
static
ber_socket_t
wake_sds
[
2
]
#ifdef HAVE_WINSOCK
=
{
INVALID_SOCKET
,
INVALID_SOCKET
}
#endif
/* HAVE_WINSOCK */
;
static
int
emfile
;
static
volatile
int
waking
;
...
...
@@ -1641,8 +1645,14 @@ int
slapd_daemon_destroy
(
void
)
{
connections_destroy
();
tcp_close
(
SLAP_FD2SOCK
(
wake_sds
[
1
])
);
tcp_close
(
SLAP_FD2SOCK
(
wake_sds
[
0
])
);
#ifdef HAVE_WINSOCK
if
(
wake_sds
[
1
]
!=
INVALID_SOCKET
)
#endif
/* HAVE_WINSOCK */
tcp_close
(
SLAP_FD2SOCK
(
wake_sds
[
1
])
);
#ifdef HAVE_WINSOCK
if
(
wake_sds
[
0
]
!=
INVALID_SOCKET
)
#endif
/* HAVE_WINSOCK */
tcp_close
(
SLAP_FD2SOCK
(
wake_sds
[
0
])
);
sockdestroy
();
#ifdef HAVE_SLP
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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