http: disallow >3-digit response codes

Make the built-in HTTP parser behave similar to hyper and reject any
HTTP response using more than 3 digits for the response code.

Updated test 1432 accordingly.
Enabled test 1432 in the hyper builds.

Closes #7641
This commit is contained in:
Daniel Stenberg 2021-08-26 16:04:50 +02:00
parent 14da6eb4e5
commit 5dc594e44f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 41 additions and 30 deletions

View file

@ -90,10 +90,8 @@
1288
1294
1417
1429
1430
1431
1432
1455
1456
1525