Adjust HTTP header parsing to follow RFC more closely.
authorclaudio <claudio@openbsd.org>
Thu, 8 Sep 2022 09:48:02 +0000 (09:48 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 8 Sep 2022 09:48:02 +0000 (09:48 +0000)
commit380deba5b0e605bf87680aab8b899a16f7615fb6
tree64a077038cb103be308ae87d4245106c212f54d2
parent35ecc9da6efcff6ea372ef4100cc47fa17b1aa3c
Adjust HTTP header parsing to follow RFC more closely.

RFC9112 allows any amount of space/tabs between the ':' and the value.
Until now this code required exactly one space which works most of the
time but is not RFC compliant.
Problem reported by Ties de Kock (tdekock (at) ripe.net)
OK tb@
usr.sbin/rpki-client/http.c