]> git.ipfire.org Git - thirdparty/curl.git/commit
http: disallow >3-digit response codes
authorDaniel Stenberg <daniel@haxx.se>
Thu, 26 Aug 2021 14:04:50 +0000 (16:04 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Aug 2021 20:43:38 +0000 (22:43 +0200)
commit5dc594e44f73b1726cabca6a4395323f972e416d
tree4621b182953a7f496098cd74d22a4528c56c1ac1
parent14da6eb4e5d53c803676a78d5d657d0b205f0430
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
lib/http.c
tests/data/DISABLED
tests/data/test1429
tests/data/test1432