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
77f5552d
Commit
77f5552d
authored
Aug 04, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a another similar confusion on my part
parent
5e1b81af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
from_cache_esi_deliver.c
src/foreign/from_cache_esi_deliver.c
+4
-6
No files found.
src/foreign/from_cache_esi_deliver.c
View file @
77f5552d
...
...
@@ -176,9 +176,7 @@ vped_gzgz_init(struct req *req, void **priv)
* _toparent vdp on the same request, rather than one request up as in the
* original code.
*
* thus our VDP_bytes all have to flush
*
* XXX revisit maybe...
* thus we need to flush at the end of each call
*/
static
int
v_matchproto_
(
vdp_bytes_f
)
vped_gzgz_bytes
(
struct
req
*
req
,
enum
vdp_action
act
,
void
**
priv
,
...
...
@@ -220,7 +218,7 @@ vped_gzgz_bytes(struct req *req, enum vdp_action act, void **priv,
/* Remove the "LAST" bit */
foo
->
dbits
[
0
]
=
*
pp
;
foo
->
dbits
[
0
]
&=
~
(
1U
<<
(
foo
->
last
&
7
));
if
(
VDP_bytes
(
req
,
VDP_
FLUSH
,
foo
->
dbits
,
1
))
if
(
VDP_bytes
(
req
,
VDP_
NULL
,
foo
->
dbits
,
1
))
return
(
-
1
);
foo
->
ll
++
;
len
--
;
...
...
@@ -294,7 +292,7 @@ vped_gzgz_bytes(struct req *req, enum vdp_action act, void **priv,
default:
WRONG
(
"compiler must be broken"
);
}
if
(
VDP_bytes
(
req
,
VDP_
FLUSH
,
foo
->
dbits
+
1
,
foo
->
lpad
))
if
(
VDP_bytes
(
req
,
VDP_
NULL
,
foo
->
dbits
+
1
,
foo
->
lpad
))
return
(
-
1
);
}
if
(
len
>
0
)
{
...
...
@@ -315,7 +313,7 @@ vped_gzgz_bytes(struct req *req, enum vdp_action act, void **priv,
}
}
assert
(
len
==
0
);
return
(
0
);
return
(
VDP_bytes
(
req
,
VDP_FLUSH
,
NULL
,
0
)
);
}
static
int
v_matchproto_
(
vdp_fini_f
)
...
...
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