r1930 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Fri Aug 31 09:03:32 CEST 2007
Author: phk
Date: 2007-08-31 09:03:32 +0200 (Fri, 31 Aug 2007)
New Revision: 1930
Modified:
trunk/varnish-cache/bin/varnishd/cache_backend_simple.c
Log:
Fix typo that made worker process panic whenever a request came in without
a Host: header.
Modified: trunk/varnish-cache/bin/varnishd/cache_backend_simple.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend_simple.c 2007-08-29 15:37:59 UTC (rev 1929)
+++ trunk/varnish-cache/bin/varnishd/cache_backend_simple.c 2007-08-31 07:03:32 UTC (rev 1930)
@@ -340,7 +340,7 @@
{
struct bes *bes;
- CHECK_OBJ_NOTNULL(b, SESS_MAGIC);
+ CHECK_OBJ_NOTNULL(b, BACKEND_MAGIC);
CAST_OBJ_NOTNULL(bes, b->priv, BES_MAGIC);
return (bes->hostname);
}
More information about the varnish-commit
mailing list