Limit the HTTP requests to 2GB of data. This is enforced via a quick
authorclaudio <claudio@openbsd.org>
Fri, 29 Oct 2021 08:51:20 +0000 (08:51 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 29 Oct 2021 08:51:20 +0000 (08:51 +0000)
commit74d62246f6c446d26226cea642035d9867325887
tree6cca02650d96ef30b7d9d45d15dfb0f89fb75695
parent82ecafa141821f782b27905d84d46f1f56517adc
Limit the HTTP requests to 2GB of data. This is enforced via a quick
check of the content-lenght header and also with a check when writing
data out so that chunked encoding can not bypass the limit.
OK beck@ job@
usr.sbin/rpki-client/http.c