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
913f272d
Commit
913f272d
authored
Jul 30, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the zero-length T_NEXUS
parent
cbdc871c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
4 deletions
+21
-4
e00030.vtc
src/tests/e00030.vtc
+0
-0
vdp_pesi.c
src/vdp_pesi.c
+21
-4
No files found.
src/tests/
failing/
e00030.vtc
→
src/tests/e00030.vtc
View file @
913f272d
File moved
src/vdp_pesi.c
View file @
913f272d
...
...
@@ -919,10 +919,27 @@ ved_task(struct worker *wrk, void *priv)
Lck_Unlock
(
&
pesi_tree
->
tree
->
tree_lock
);
break
;
case
T_NEXUS
:
// moved to set_delivered
// req_fini(req, wrk);
pesi
=
NULL
;
task_fini
(
pesi_tree
,
req
->
transport_priv
);
assert
(
node
->
req
==
req
);
/*
* XXX rethink: T_NEXUS' req gets fini't in
* bytes_push_worklist(), but not if it had no nodes below,
* because then there were no nodes unpended. so handle the
* "zero object" case here
*/
if
(
VSTAILQ_EMPTY
(
&
node
->
nexus
.
children
))
{
assert
(
node
->
state
==
ST_DELIVERED
);
assert
(
pesi
==
req
->
transport_priv
);
assert
(
req
==
node
->
req
);
req
->
transport_priv
=
NULL
;
req
=
NULL
;
pesi_destroy
(
&
pesi
);
req_fini
(
&
node
->
req
,
wrk
);
task_fini
(
pesi_tree
,
pesi
);
}
else
{
pesi
=
NULL
;
task_fini
(
pesi_tree
,
req
->
transport_priv
);
}
break
;
default:
INCOMPL
();
...
...
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