Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
152c12d4
Commit
152c12d4
authored
Mar 16, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Mar 18, 2021
Browse files
ITS
#9051
Do not remove callback on intermediate responses
parent
6809a942
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/accesslog.c
View file @
152c12d4
...
...
@@ -1492,7 +1492,9 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
Operation
op2
=
{
0
};
SlapReply
rs2
=
{
REP_RESULT
};
{
/* ITS#9051 Make sure we only remove the callback on a final response */
if
(
rs
->
sr_type
==
REP_RESULT
||
rs
->
sr_type
==
REP_EXTENDED
||
rs
->
sr_type
==
REP_SASL
)
{
slap_callback
*
sc
=
op
->
o_callback
;
op
->
o_callback
=
sc
->
sc_next
;
op
->
o_tmpfree
(
sc
,
op
->
o_tmpmemctx
);
...
...
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