[4.1] 2b7c89e Allow newlines in long strings to sendhex
Martin Blix Grydeland
martin at varnish-software.com
Thu Jun 15 15:45:06 CEST 2017
commit 2b7c89e253bbface2857a2ba9383a6d78ee8ef6b
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date: Thu Jun 15 15:25:41 2017 +0200
Allow newlines in long strings to sendhex
diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 1503b7e..57d36b6 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -1129,7 +1129,7 @@ cmd_http_sendhex(CMD_ARGS)
AN(p);
q = av[1];
for (i = 0; i < l; i++) {
- while (vct_issp(*q))
+ while (vct_issp(*q) || *q == '\n')
q++;
if (*q == '\0')
break;
More information about the varnish-commit
mailing list