---
 bin/varnishd/cache_center.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

In the not-even-compile-tested-but-looks-obvious category.

diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index 25d57cb..6ff8423 100644
--- a/bin/varnishd/cache_center.c
+++ b/bin/varnishd/cache_center.c
@@ -654,7 +654,7 @@ cnt_fetch(struct sess *sp)
         * Space for producing a Content-Length: header including padding
         * A billion gigabytes is enough for anybody.
         */
-       l += strlen("Content-Encoding: XxxXxxXxxXxxXxxXxx" + sizeof(void *));
+       l += strlen("Content-Length: XxxXxxXxxXxxXxxXxx") + sizeof(void *);
 
        if (sp->wrk->ttl < sp->t_req + params->shortlived ||
            sp->objcore == NULL) 
-- 
1.7.0.4

_______________________________________________
varnish-dev mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to