[master] 2f831e5 Make it possible to expect on the req.bodylen as well.
Poul-Henning Kamp
phk at varnish-cache.org
Tue Jan 22 12:12:57 CET 2013
commit 2f831e5570af1e94d427d42d0f413a252e0fcdd4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jan 22 11:12:42 2013 +0000
Make it possible to expect on the req.bodylen as well.
diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 4d71ae9..cc49568 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -189,6 +189,8 @@ cmd_var_resolve(struct http *hp, char *spec)
return(hp->resp[2]);
if (!strcmp(spec, "resp.chunklen"))
return(hp->chunklen);
+ if (!strcmp(spec, "req.bodylen"))
+ return(hp->bodylen);
if (!strcmp(spec, "resp.bodylen"))
return(hp->bodylen);
if (!strcmp(spec, "resp.body"))
More information about the varnish-commit
mailing list