http: return error on colon-less HTTP headers

It's a protocol violation and accepting them leads to no good.

Add test case 398 to verify

Closes #8610
This commit is contained in:
Daniel Stenberg 2022-03-18 22:54:59 +01:00
parent 33fe8251cb
commit dcdf2e8a36
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 91 additions and 7 deletions

View file

@ -65,7 +65,7 @@ test370 test371 test372 test373 test374 test375 test376 \
\
test380 test381 test383 test384 test385 test386 \
\
test392 test393 test394 test395 test396 test397 \
test392 test393 test394 test395 test396 test397 test398 \
\
test400 test401 test402 test403 test404 test405 test406 test407 test408 \
test409 test410 \