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
b2c942af
Commit
b2c942af
authored
Aug 02, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
974857ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
28 deletions
+1
-28
vdp_pesi.c
src/vdp_pesi.c
+1
-28
No files found.
src/vdp_pesi.c
View file @
b2c942af
...
@@ -1054,15 +1054,8 @@ vdp_pesi_bytes(struct req *req, enum vdp_action act, void **priv,
...
@@ -1054,15 +1054,8 @@ vdp_pesi_bytes(struct req *req, enum vdp_action act, void **priv,
"state=%d npending=%d"
,
"state=%d npending=%d"
,
tree
->
root
->
state
,
tree
->
root
->
state
,
tree
->
npending
);
tree
->
npending
);
#if 1
AZ
(
Lck_CondWait
(
&
tree
->
cond
,
AZ
(
Lck_CondWait
(
&
tree
->
cond
,
&
tree
->
tree_lock
,
0
));
&
tree
->
tree_lock
,
0
));
#else
(
void
)(
Lck_CondWait
(
&
tree
->
cond
,
&
tree
->
tree_lock
,
VTIM_real
()
+
2
));
AZ
(
errno
);
#endif
tree_deliver
(
req
,
tree
);
tree_deliver
(
req
,
tree
);
}
}
Lck_Unlock
(
&
tree
->
tree_lock
);
Lck_Unlock
(
&
tree
->
tree_lock
);
...
@@ -1129,7 +1122,7 @@ assert_vdp_next_not(struct req *req, const struct vdp *vdp)
...
@@ -1129,7 +1122,7 @@ assert_vdp_next_not(struct req *req, const struct vdp *vdp)
}
}
/*
/*
* close
first vd
p and assert it has the right type
* close
vdp at position ski
p and assert it has the right type
*
*
* there must be at least one vdp remaining
* there must be at least one vdp remaining
*/
*/
...
@@ -1177,18 +1170,6 @@ push_vdps(struct req *req, struct nexus_gzip *gz)
...
@@ -1177,18 +1170,6 @@ push_vdps(struct req *req, struct nexus_gzip *gz)
CHECK_OBJ_NOTNULL
(
req
->
objcore
,
OBJCORE_MAGIC
);
CHECK_OBJ_NOTNULL
(
req
->
objcore
,
OBJCORE_MAGIC
);
CHECK_OBJ_NOTNULL
(
req
->
wrk
,
WORKER_MAGIC
);
CHECK_OBJ_NOTNULL
(
req
->
wrk
,
WORKER_MAGIC
);
#ifdef DEBUG
/* XXX 5-28 */
struct
vdp_entry
*
vdpe
;
CHECK_OBJ_NOTNULL
(
req
->
vdc
,
VDP_CTX_MAGIC
);
VTAILQ_FOREACH
(
vdpe
,
&
req
->
vdc
->
vdp
,
list
)
{
CHECK_OBJ_NOTNULL
(
vdpe
,
VDP_ENTRY_MAGIC
);
VSLdbgv
(
req
,
"push_vdps: VDP list before pushing parent VDPs: %s"
,
vdpe
->
vdp
->
name
);
}
#endif
i
=
ObjCheckFlag
(
req
->
wrk
,
req
->
objcore
,
OF_GZIPED
);
i
=
ObjCheckFlag
(
req
->
wrk
,
req
->
objcore
,
OF_GZIPED
);
if
(
gz
->
is
&&
i
&&
!
(
req
->
res_mode
&
RES_ESI
))
{
if
(
gz
->
is
&&
i
&&
!
(
req
->
res_mode
&
RES_ESI
))
{
/* A gzip'ed include which is not ESI processed */
/* A gzip'ed include which is not ESI processed */
...
@@ -1210,14 +1191,6 @@ push_vdps(struct req *req, struct nexus_gzip *gz)
...
@@ -1210,14 +1191,6 @@ push_vdps(struct req *req, struct nexus_gzip *gz)
}
}
// else just push to parent
// else just push to parent
#ifdef DEBUG
/* XXX debugging */
CHECK_OBJ_NOTNULL
(
req
->
vdc
,
VDP_CTX_MAGIC
);
VTAILQ_FOREACH
(
vdpe
,
&
req
->
vdc
->
vdp
,
list
)
{
CHECK_OBJ_NOTNULL
(
vdpe
,
VDP_ENTRY_MAGIC
);
VSLdbgv
(
req
,
"push_vdps: VDP list: %s"
,
vdpe
->
vdp
->
name
);
}
#endif
return
(
0
);
return
(
0
);
}
}
...
...
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