[master] 1e10a0d Dump the received chunk by length, rather than until NUL
Poul-Henning Kamp
phk at project.varnish-software.com
Sat Jan 22 10:33:58 CET 2011
commit 1e10a0df6424d554d9cc0c7f7547cfc07b1ea5ba
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Sat Jan 22 09:17:50 2011 +0000
Dump the received chunk by length, rather than until NUL
diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 2b05c38..c4c4ca9 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -413,7 +413,7 @@ http_swallow_body(struct http *hp, char * const *hh, int body)
ll += i;
http_rxchar(hp, i);
vtc_dump(hp->vl, 4, "chunk",
- hp->rxbuf + l, -1);
+ hp->rxbuf + l, i);
}
l = hp->prxbuf;
http_rxchar(hp, 2);
More information about the varnish-commit
mailing list