[master] 9b8035d When my old math teacher made this kind of mistake and we caught it, he would always say "Just checking if you were paying attention".
Poul-Henning Kamp
phk at varnish-cache.org
Wed Feb 9 10:17:18 CET 2011
commit 9b8035d687bd2ed9ada1d951e230748e965dc6c2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Feb 9 09:15:44 2011 +0000
When my old math teacher made this kind of mistake and we
caught it, he would always say "Just checking if you were
paying attention".
I guess Erik Inge Bolsø was :-)
diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index 25d57cb..96e585e 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)
More information about the varnish-commit
mailing list