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
f31ed40c
Commit
f31ed40c
authored
Jan 24, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the clients Accept-Encoding header when we add our own.
parent
602cfbea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cache_center.c
bin/varnishd/cache_center.c
+1
-0
No files found.
bin/varnishd/cache_center.c
View file @
f31ed40c
...
@@ -975,6 +975,7 @@ cnt_miss(struct sess *sp)
...
@@ -975,6 +975,7 @@ cnt_miss(struct sess *sp)
* client doesn't grok it. We will uncompress for
* client doesn't grok it. We will uncompress for
* the minority of clients which don't.
* the minority of clients which don't.
*/
*/
http_Unset
(
sp
->
wrk
->
bereq
,
H_Accept_Encoding
);
http_PrintfHeader
(
sp
->
wrk
,
sp
->
fd
,
sp
->
wrk
->
bereq
,
http_PrintfHeader
(
sp
->
wrk
,
sp
->
fd
,
sp
->
wrk
->
bereq
,
"Accept-Encoding: gzip"
);
"Accept-Encoding: gzip"
);
}
}
...
...
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