HTTP client: Allow streaming of response data (with possibly indefinite length)
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Tue, 4 May 2021 14:33:19 +0000 (16:33 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Fri, 14 May 2021 17:24:42 +0000 (19:24 +0200)
commitbe799eb7a3a7d0012dfa27ade1fa68319a40c6c6
tree3baf498b9d1dab171c51f1fb0209c4d0b0f4d707
parent8b5ca5111ed9d7907e2de91a5af5b5407a46eaf1
HTTP client: Allow streaming of response data (with possibly indefinite length)

Also clean up max_resp_len and add OSSL_HTTP_REQ_CTX_get_resp_len().

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15053)
crypto/http/http_client.c
doc/man3/OSSL_HTTP_REQ_CTX.pod
doc/man3/OSSL_HTTP_transfer.pod
include/openssl/http.h