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
orbea -
OpenLDAP
Commits
221d3ccd
Commit
221d3ccd
authored
Jan 13, 2012
by
Hallvard Furuseth
Browse files
ITS#7125 Fix Connection.c_mutex usage.
Partial revert of
9e00b6cc
:connection.c.
parent
fa757566
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/connection.c
View file @
221d3ccd
...
...
@@ -225,7 +225,6 @@ int connections_timeout_idle(time_t now)
*/
if
((
c
->
c_n_ops_executing
&&
!
c
->
c_writewaiter
)
||
c
->
c_conn_state
==
SLAP_C_CLIENT
)
{
connection_done
(
c
);
continue
;
}
...
...
@@ -247,8 +246,8 @@ int connections_timeout_idle(time_t now)
continue
;
}
}
connection_done
(
c
);
}
connection_done
(
c
);
if
(
old
&&
!
writers
)
slapd_clr_writetime
(
old
);
...
...
@@ -270,12 +269,12 @@ void connections_drop()
*/
if
((
c
->
c_n_ops_executing
&&
!
c
->
c_writewaiter
)
||
c
->
c_conn_state
==
SLAP_C_CLIENT
)
{
connection_done
(
c
);
continue
;
}
connection_closing
(
c
,
"dropping"
);
connection_close
(
c
);
}
connection_done
(
c
);
}
static
Connection
*
connection_get
(
ber_socket_t
s
)
...
...
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