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
5f809c45
Commit
5f809c45
authored
Jan 29, 2009
by
Howard Chu
Browse files
check mutex in connection_write()
parent
4572e7d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/connection.c
View file @
5f809c45
...
...
@@ -1859,7 +1859,9 @@ int connection_write(ber_socket_t s)
Debug
(
LDAP_DEBUG_TRACE
,
"connection_write(%d): waking output for id=%lu
\n
"
,
s
,
c
->
c_connid
,
0
);
ldap_pvt_thread_mutex_lock
(
&
c
->
c_write2_mutex
);
ldap_pvt_thread_cond_signal
(
&
c
->
c_write2_cv
);
ldap_pvt_thread_mutex_unlock
(
&
c
->
c_write2_mutex
);
if
(
ber_sockbuf_ctrl
(
c
->
c_sb
,
LBER_SB_OPT_NEEDS_READ
,
NULL
)
)
{
slapd_set_read
(
s
,
1
);
...
...
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