[master] 62434adfd Polish vtc(7) gzip bits

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Feb 20 12:17:05 UTC 2020


commit 62434adfd6913827585fabc074ed8749f31b8943
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Feb 20 11:46:09 2020 +0100

    Polish vtc(7) gzip bits

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 382a55c5a..85441f25f 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -938,18 +938,18 @@ http_tx_parse_args(char * const *av, struct vtclog *vl, struct http *hp,
  *                 Generate and input a body that is NUMBER bytes-long.
  *
  *         \-gziplevel NUMBER
- *		   Set the gzip level (call it before any of the other gzip
- *		   switches).
+ *                 Set the gzip level (call it before any of the other gzip
+ *                 switches).
  *
  *         \-gzipresidual NUMBER
  *                 Add extra gzip bits. You should never need it.
  *
  *         \-gzipbody STRING
- *                 Zip STRING and send it as body.
+ *                 Gzip STRING and send it as body.
  *
  *         \-gziplen NUMBER
- *                 Combine -body and -gzipbody: create a body of length NUMBER,
- *                 zip it and send as body.
+ *                 Combine -bodylen and -gzipbody: generate a string of length
+ *                 NUMBER, gzip it and send as body.
  */
 
 /**********************************************************************
diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index ab78ed162..b47295af1 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -1349,14 +1349,14 @@ cmd_sendhex(CMD_ARGS)
  *	Same as ``-body`` but content is read from FILE.
  *
  * \-bodylen INT (txreq, txresp)
- *	Do the same thing as ``-body`` but generate an string of INT length
+ *	Do the same thing as ``-body`` but generate a string of INT length
  *	for you.
  *
  * \-gzipbody STRING (txreq, txresp)
  *      Gzip STRING and send it as body.
  *
  * \-gziplen NUMBER (txreq, txresp)
- *      Combine -body and -gzipbody: create a body of length NUMBER,
+ *      Combine -bodylen and -gzipbody: generate a string of length NUMBER,
  *      gzip it and send as body.
  *
  * \-nostrend (txreq, txresp)


More information about the varnish-commit mailing list