Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
8736cbe1
Commit
8736cbe1
authored
Jul 30, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VDP_close() in req_fini - this is possibly duplicate
but better safe than sorry
parent
d120f955
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
vdp_pesi.c
src/vdp_pesi.c
+2
-5
No files found.
src/vdp_pesi.c
View file @
8736cbe1
...
...
@@ -714,10 +714,6 @@ set_delivered(struct bytes_tree *tree, struct node *node)
assert
(
node
->
state
==
ST_CLOSED
);
(
void
)
HSH_DerefObjCore
(
req
->
wrk
,
&
node
->
nexus
.
oc
,
0
);
}
CHECK_OBJ_NOTNULL
(
node
->
req
,
REQ_MAGIC
);
if
(
node
->
parent
!=
NULL
)
VDP_close
(
node
->
req
);
}
node
->
state
=
ST_DELIVERED
;
...
...
@@ -940,6 +936,7 @@ req_fini(struct req **reqp, struct worker *wrk)
VSLdbg
(
req
,
"req_fini called"
);
VDP_close
(
req
);
Req_Cleanup
(
req
->
sp
,
wrk
,
req
);
Req_Release
(
req
);
}
...
...
@@ -1375,7 +1372,7 @@ fini_subreq(struct req *req, struct node *node)
TAKE_OBJ_NOTNULL
(
boc
,
&
node
->
subreq
.
boc
,
BOC_MAGIC
);
AZ
(
node
->
subreq
.
oc
);
VDP_close
(
subreq
);
VDP_close
(
subreq
);
// need before pesi_destroy
/* bottom of cnt_transmit() */
HSH_Cancel
(
req
->
wrk
,
subreq
->
objcore
,
boc
);
...
...
Write
Preview
Markdown
is supported
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