use the new header check macro for consistency

Ref #3407
parent e082a30c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment