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
0afa1413
Commit
0afa1413
authored
Aug 04, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
61ebd5b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
vdp_pesi.c
src/vdp_pesi.c
+10
-9
No files found.
src/vdp_pesi.c
View file @
0afa1413
...
...
@@ -630,6 +630,7 @@ vdp_pesi_init(struct req *req, void **priv)
struct
pesi
*
pesi
;
struct
pecx
*
pecx
;
struct
pesi_tree
*
pesi_tree
;
struct
node
*
root_node
;
CHECK_OBJ_NOTNULL
(
req
,
REQ_MAGIC
);
AN
(
priv
);
...
...
@@ -689,20 +690,20 @@ vdp_pesi_init(struct req *req, void **priv)
req
->
resp_len
=
-
1
;
node_fill_nodestock
(
req
->
ws
,
&
pesi
->
nodestock
);
pesi_tree
->
tree
->
root
=
node_alloc
(
pesi
);
CHECK_OBJ_NOTNULL
(
pesi_tree
->
tree
->
root
,
NODE_MAGIC
);
pesi_tree
->
tree
->
front
=
pesi_tree
->
tree
->
root
;
pesi_tree
->
tree
->
root
->
state
=
ST_PRIVATE
;
pesi_tree
->
tree
->
root
->
type
=
T_NEXUS
;
pesi_tree
->
tree
->
root
->
nexus
.
req
=
req
;
pesi_tree
->
tree
->
root
->
nexus
.
gzip
.
magic
=
NEXUS_GZIP_MAGIC
;
VSTAILQ_INIT
(
&
pesi_tree
->
tree
->
root
->
nexus
.
children
);
pesi_tree
->
tree
->
front
=
pesi_tree
->
tree
->
root
=
root_node
=
node_alloc
(
pesi
);
CHECK_OBJ_NOTNULL
(
root_node
,
NODE_MAGIC
)
;
root_node
->
state
=
ST_PRIVATE
;
root_node
->
type
=
T_NEXUS
;
root_node
->
nexus
.
req
=
req
;
root_node
->
nexus
.
gzip
.
magic
=
NEXUS_GZIP_MAGIC
;
VSTAILQ_INIT
(
&
root_node
->
nexus
.
children
);
Lck_New
(
&
pesi_tree
->
tree
->
tree_lock
,
lck_bytes_tree
);
pesi_tree
->
tree
->
npending
=
1
;
AZ
(
pthread_cond_init
(
&
pesi_tree
->
tree
->
cond
,
NULL
));
AZ
(
pesi_tree
->
tree
->
retval
);
pesi
->
node
=
pesi_tree
->
tree
->
root
;
pesi
->
node
=
root_node
;
AZ
(
pecx
->
state
);
AZ
(
pesi
->
woken
);
...
...
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