r5731 - trunk/varnish-cache/bin/varnishd
phk at varnish-cache.org
phk at varnish-cache.org
Thu Jan 13 17:29:34 CET 2011
Author: phk
Date: 2011-01-13 17:29:34 +0100 (Thu, 13 Jan 2011)
New Revision: 5731
Modified:
trunk/varnish-cache/bin/varnishd/cache_esi_deliver.c
Log:
Implement another VEC code
Modified: trunk/varnish-cache/bin/varnishd/cache_esi_deliver.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_esi_deliver.c 2011-01-13 11:55:11 UTC (rev 5730)
+++ trunk/varnish-cache/bin/varnishd/cache_esi_deliver.c 2011-01-13 16:29:34 UTC (rev 5731)
@@ -164,6 +164,12 @@
printf("SKIP(%d)\n", (int)l);
off += l;
break;
+ case VEC_S2:
+ l = vbe16dec(p + 1);
+ p += 3;
+ printf("SKIP(%d)\n", (int)l);
+ off += l;
+ break;
case VEC_L1:
l = p[1];
p += 2;
@@ -191,7 +197,7 @@
p = r + 1;
break;
default:
- printf("XXXX %02x [%c]\n", *p, *p);
+ printf("XXXX 0x%02x [%s]\n", *p, p);
INCOMPL();
return;
}
More information about the varnish-commit
mailing list