For chunked encoding on switch to STATE_RESPONSE_CHUNKED_TRAILER when
authorclaudio <claudio@openbsd.org>
Wed, 3 Nov 2021 13:29:28 +0000 (13:29 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 3 Nov 2021 13:29:28 +0000 (13:29 +0000)
commit03816d7283d11324578e066c6801fce448319c56
treea54dcbf44f1de6eea4cfa2658abf91a4ffa8bf1a
parent9b13dc86db3e1aff96294ab57d612a5bdbf97589
For chunked encoding on switch to STATE_RESPONSE_CHUNKED_TRAILER when
the full chunk was fetched. If the chunk size is bigger than
HTTP_BUF_SIZE iosz will be not zero and STATE_RESPONSE_DATA should
be used to fetch another buffer full of data.
OK beck@
usr.sbin/rpki-client/http.c