summaryrefslogtreecommitdiffstats
path: root/crypto/http
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2022-06-28 12:06:52 +0200
committerHugo Landau <hlandau@openssl.org>2022-07-06 08:21:53 +0100
commit7d5019c15af8f88443a7edddd4b150a7dafeda5d (patch)
tree6041dbf6cef56c42367021a2f0aaf2de426045b6 /crypto/http
parent059a4ad0999dd6dbd7340b5e4f7566812d51bb1e (diff)
http_client.c: fix comment and documentation of the memory BIOs used
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18674)
Diffstat (limited to 'crypto/http')
-rw-r--r--crypto/http/http_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/http/http_client.c b/crypto/http/http_client.c
index 12e414efae..1a1a79ace5 100644
--- a/crypto/http/http_client.c
+++ b/crypto/http/http_client.c
@@ -53,7 +53,7 @@ struct ossl_http_req_ctx_st {
char *proxy; /* Optional proxy name or URI */
char *server; /* Optional server host name */
char *port; /* Optional server port */
- BIO *mem; /* Memory BIO holding request/response header */
+ BIO *mem; /* Mem BIO holding request header or response */
BIO *req; /* BIO holding the request provided by caller */
int method_POST; /* HTTP method is POST (else GET) */
char *expected_ct; /* Optional expected Content-Type */