[master] aee1434be use the new header check macro for consistency
Nils Goroll
nils.goroll at uplex.de
Fri Oct 9 13:30:07 UTC 2020
commit aee1434be153f2f619804010b3199fd2d7d9fda8
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Fri Oct 9 15:28:29 2020 +0200
use the new header check macro for consistency
Ref #3407
diff --git a/bin/varnishd/http1/cache_http1_proto.c b/bin/varnishd/http1/cache_http1_proto.c
index 0e932d7c9..ebf9ad1f1 100644
--- a/bin/varnishd/http1/cache_http1_proto.c
+++ b/bin/varnishd/http1/cache_http1_proto.c
@@ -125,7 +125,7 @@ http1_dissect_hdrs(struct http *hp, char *p, struct http_conn *htc,
if (vct_iscrlf(p, htc->rxbuf_e))
break;
while (r < htc->rxbuf_e) {
- if (!vct_isctl(*r) || vct_issp(*r)) {
+ if (vct_ishdrval(*r)) {
r++;
continue;
}
More information about the varnish-commit
mailing list