diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-01-25 19:49:58 +0100 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-02-02 07:54:37 +0100 |
commit | d337af18919a5c24c6f1d0ceb9fdb7aaf1beaef4 (patch) | |
tree | 238952ff27bc16425b301041711793e3a77280b9 /doc/man3/OSSL_HTTP_transfer.pod | |
parent | 8e716147971971beb9ce747c74822abd24c6be13 (diff) |
HTTP: Fix mistakes and unclarities on maxline and max_resp_len params
Also rename internal structure fields iobuf(len) to readbuf(len) for clarity
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13960)
Diffstat (limited to 'doc/man3/OSSL_HTTP_transfer.pod')
-rw-r--r-- | doc/man3/OSSL_HTTP_transfer.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/man3/OSSL_HTTP_transfer.pod b/doc/man3/OSSL_HTTP_transfer.pod index dda59201cf..33ae25685b 100644 --- a/doc/man3/OSSL_HTTP_transfer.pod +++ b/doc/man3/OSSL_HTTP_transfer.pod @@ -123,9 +123,10 @@ while using a proxy for HTTPS connections requires a suitable callback function such as OSSL_HTTP_proxy_connect(), described below. The I<maxline> parameter specifies the response header maximum line length, -where 0 indicates the default value, which currently is 4k. +where a value <= 0 indicates using the B<HTTP_DEFAULT_MAX_LINE_LENGTH> of 4KiB. +This length is also used as the number of content bytes read at a time. The I<max_resp_len> parameter specifies the maximum response length, -where 0 indicates the default value, which currently is 100k. +where 0 indicates the B<HTTP_DEFAULT_MAX_RESP_LEN>, which currently is 100 KiB. An ASN.1-encoded response is expected by OSSL_HTTP_get_asn1() and OSSL_HTTP_post_asn1(), while for OSSL_HTTP_get() or OSSL_HTTP_transfer() |