summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man3/OSSL_HTTP_REQ_CTX.3ssl
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/archlinux/man3/OSSL_HTTP_REQ_CTX.3ssl')
-rw-r--r--upstream/archlinux/man3/OSSL_HTTP_REQ_CTX.3ssl16
1 files changed, 13 insertions, 3 deletions
diff --git a/upstream/archlinux/man3/OSSL_HTTP_REQ_CTX.3ssl b/upstream/archlinux/man3/OSSL_HTTP_REQ_CTX.3ssl
index a66de294..b8c5d055 100644
--- a/upstream/archlinux/man3/OSSL_HTTP_REQ_CTX.3ssl
+++ b/upstream/archlinux/man3/OSSL_HTTP_REQ_CTX.3ssl
@@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "OSSL_HTTP_REQ_CTX 3ssl"
-.TH OSSL_HTTP_REQ_CTX 3ssl 2024-01-30 3.2.1 OpenSSL
+.TH OSSL_HTTP_REQ_CTX 3ssl 2024-04-28 3.3.0 OpenSSL
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -74,7 +74,8 @@ OSSL_HTTP_REQ_CTX_exchange,
OSSL_HTTP_REQ_CTX_get0_mem_bio,
OSSL_HTTP_REQ_CTX_get_resp_len,
OSSL_HTTP_REQ_CTX_set_max_response_length,
-OSSL_HTTP_is_alive
+OSSL_HTTP_is_alive,
+OSSL_HTTP_REQ_CTX_set_max_response_hdr_lines
\&\- HTTP client low\-level functions
.SH SYNOPSIS
.IX Header "SYNOPSIS"
@@ -108,6 +109,9 @@ OSSL_HTTP_is_alive
\& unsigned long len);
\&
\& int OSSL_HTTP_is_alive(const OSSL_HTTP_REQ_CTX *rctx);
+\&
+\& void OSSL_HTTP_REQ_CTX_set_max_response_hdr_lines(OSSL_HTTP_REQ_CTX *rctx,
+\& size_t count);
.Ve
.SH DESCRIPTION
.IX Header "DESCRIPTION"
@@ -251,6 +255,12 @@ else it should call \fIOSSL_HTTP_REQ_CTX_free(rctx)\fR or \fBOSSL_HTTP_close\fR\
In case the client application keeps \fIrctx\fR but the connection then dies
for any reason at the server side, it will notice this obtaining an
I/O error when trying to send the next request via \fIrctx\fR.
+.PP
+The \fBOSSL_HTTP_REQ_CTX_set_max_response_hdr_lines()\fR function changes the limit
+for the number of HTTP headers which can be received in a response. The default
+value is 256. If the number of HTTP headers in a response exceeds the limit,
+then the HTTP_R_RESPONSE_TOO_MANY_HDRLINES error is indicated. Setting the
+limit to 0 disables the check.
.SH WARNINGS
.IX Header "WARNINGS"
The server's response may be unexpected if the hostname that was used to
@@ -321,7 +331,7 @@ and the server did not disagree on keeping the connection open, else 0.
The functions described here were added in OpenSSL 3.0.
.SH COPYRIGHT
.IX Header "COPYRIGHT"
-Copyright 2015\-2023 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2015\-2024 The OpenSSL Project Authors. All Rights Reserved.
.PP
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy