aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/man/man3/OSSL_HTTP_transfer.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/man3/OSSL_HTTP_transfer.3')
-rw-r--r--secure/lib/libcrypto/man/man3/OSSL_HTTP_transfer.39
1 files changed, 7 insertions, 2 deletions
diff --git a/secure/lib/libcrypto/man/man3/OSSL_HTTP_transfer.3 b/secure/lib/libcrypto/man/man3/OSSL_HTTP_transfer.3
index 4a30eeff8382..95ae4e6cf461 100644
--- a/secure/lib/libcrypto/man/man3/OSSL_HTTP_transfer.3
+++ b/secure/lib/libcrypto/man/man3/OSSL_HTTP_transfer.3
@@ -58,7 +58,7 @@
.\" ========================================================================
.\"
.IX Title "OSSL_HTTP_TRANSFER 3ossl"
-.TH OSSL_HTTP_TRANSFER 3ossl 2026-04-07 3.0.20 OpenSSL
+.TH OSSL_HTTP_TRANSFER 3ossl 2026-06-09 3.0.21 OpenSSL
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -220,6 +220,7 @@ pre\-established with a TLS proxy using the HTTP CONNECT method,
optionally using proxy client credentials \fIproxyuser\fR and \fIproxypass\fR,
to connect with TLS protection ultimately to \fIserver\fR and \fIport\fR.
If the \fIport\fR argument is NULL or the empty string it defaults to "443".
+The \fIserver\fR and \fIport\fR arguments must not contain CR or LF characters.
If the \fItimeout\fR parameter is > 0 this indicates the maximum number of
seconds the connection setup is allowed to take.
A value <= 0 enables waiting indefinitely, i.e., no timeout.
@@ -240,6 +241,10 @@ else HTTP POST with the contents of \fIreq\fR and optional \fIcontent_type\fR, w
the length of the data in \fIreq\fR does not need to be determined in advance: the
BIO will be read on\-the\-fly while sending the request, which supports streaming.
The optional list \fIheaders\fR may contain additional custom HTTP header lines.
+.PP
+The \fIpath\fR, \fIheaders\fR names and values, and \fIcontent_type\fR must not contain
+CR or LF characters.
+.PP
If the parameter \fIexpected_content_type\fR
is not NULL then the client will check that the given content type string
is included in the HTTP header of the response and return an error if not.
@@ -340,7 +345,7 @@ The caller is responsible for freeing the BIO pointer obtained.
All the functions described here were added in OpenSSL 3.0.
.SH COPYRIGHT
.IX Header "COPYRIGHT"
-Copyright 2019\-2023 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2019\-2026 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