[master] 3a8158a Ohh man, I should be too old to make this kind of mistake.
Poul-Henning Kamp
phk at varnish-cache.org
Fri Feb 11 09:28:17 CET 2011
commit 3a8158a89f7ec63882bf1c08af61ffb5d236513d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Feb 11 08:22:53 2011 +0000
Ohh man, I should be too old to make this kind of mistake.
Fortunately there is a backstop, so worst case a request would
just fail.
Spotted by: Erik
Missed by: phk, twice
diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index 48f9c15..9480db1 100644
--- a/bin/varnishd/cache_center.c
+++ b/bin/varnishd/cache_center.c
@@ -655,7 +655,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-Length: 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