r5696 - trunk/varnish-cache/bin/varnishtest

phk at varnish-cache.org phk at varnish-cache.org
Thu Jan 6 23:14:00 CET 2011


Author: phk
Date: 2011-01-06 23:14:00 +0100 (Thu, 06 Jan 2011)
New Revision: 5696

Modified:
   trunk/varnish-cache/bin/varnishtest/vtc_http.c
Log:
A little less verbose



Modified: trunk/varnish-cache/bin/varnishtest/vtc_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc_http.c	2011-01-06 21:06:18 UTC (rev 5695)
+++ trunk/varnish-cache/bin/varnishtest/vtc_http.c	2011-01-06 22:14:00 UTC (rev 5696)
@@ -671,13 +671,14 @@
 			assert(body == nullbody);
 			b = synth_body(av[1], 1);
 			gzip_body(b, &body, &bodylen);
-			vtc_hexdump(hp->vl, 4, "gzip", (void*)body, bodylen);
+			vsb_printf(hp->vsb, "Content-Encoding: gzip%s", nl);
+			// vtc_hexdump(hp->vl, 4, "gzip", (void*)body, bodylen);
 			av++;
 		} else if (!strcmp(*av, "-gzipbody")) {
 			assert(body == nullbody);
 			gzip_body(av[1], &body, &bodylen);
 			vsb_printf(hp->vsb, "Content-Encoding: gzip%s", nl);
-			vtc_hexdump(hp->vl, 4, "gzip", (void*)body, bodylen);
+			// vtc_hexdump(hp->vl, 4, "gzip", (void*)body, bodylen);
 			av++;
 		} else
 			break;




More information about the varnish-commit mailing list