Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
285deaaf
Commit
285deaaf
authored
Mar 24, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't put chunked headers in the esi-specification, we won't need them.
parent
702f6401
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
cache_esi_deliver.c
bin/varnishd/cache_esi_deliver.c
+1
-3
cache_esi_parse.c
bin/varnishd/cache_esi_parse.c
+0
-2
No files found.
bin/varnishd/cache_esi_deliver.c
View file @
285deaaf
...
...
@@ -211,7 +211,7 @@ ved_pretend_gzip(const struct sess *sp, const uint8_t *p, ssize_t l)
/*---------------------------------------------------------------------
*/
static
const
char
gzip_hdr
[]
=
{
static
const
uint8_t
gzip_hdr
[]
=
{
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
...
...
@@ -291,8 +291,6 @@ ESI_Deliver(struct sess *sp)
case
VEC_V8
:
l
=
ved_decode_len
(
&
p
);
r
=
p
;
q
=
(
void
*
)
strchr
((
const
char
*
)
p
,
'\0'
);
p
=
q
+
1
;
if
(
isgzip
)
{
assert
(
*
p
==
VEC_C1
||
*
p
==
VEC_C2
||
*
p
==
VEC_C8
);
...
...
bin/varnishd/cache_esi_parse.c
View file @
285deaaf
...
...
@@ -287,8 +287,6 @@ vep_emit_verbatim(const struct vep_state *vep, ssize_t l, ssize_t l_crc)
Debug
(
"---> VERBATIM(%jd)
\n
"
,
(
intmax_t
)
l
);
}
vep_emit_len
(
vep
,
l
,
VEC_V1
,
VEC_V2
,
VEC_V8
);
/* Emit Chunked header */
vsb_printf
(
vep
->
vsb
,
"%lx
\r\n
%c"
,
l
,
0
);
if
(
vep
->
dogzip
)
{
vep_emit_len
(
vep
,
l_crc
,
VEC_C1
,
VEC_C2
,
VEC_C8
);
vbe32enc
(
buf
,
vep
->
crc
);
...
...
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