Commit b63ed5d8 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

A little less verbose



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5696 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 1d761066
......@@ -671,13 +671,14 @@ cmd_http_txresp(CMD_ARGS)
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment