From 806990e7db4c0ea7ad544477bb7b697cc36347ea Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Mon, 18 Jan 2021 12:39:51 +0100 Subject: [PATCH] OSSL_HTTP_REQ_CTX.pod: minor addition and remove redundant paragraph Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/13898) --- doc/man3/OSSL_HTTP_REQ_CTX.pod | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/man3/OSSL_HTTP_REQ_CTX.pod b/doc/man3/OSSL_HTTP_REQ_CTX.pod index d5188895bc..4e30088de7 100644 --- a/doc/man3/OSSL_HTTP_REQ_CTX.pod +++ b/doc/man3/OSSL_HTTP_REQ_CTX.pod @@ -135,7 +135,8 @@ Calling OSSL_HTTP_REQ_CTX_set_request_line(). This must be done exactly once. =item 2. -Adding extra headers with OSSL_HTTP_REQ_CTX_add1_header(). This is optional. +Adding extra headers with OSSL_HTTP_REQ_CTX_add1_header(). +This is optional and may be done multiple times with different names. =item 3. @@ -148,10 +149,6 @@ exactly once in that case. When the request context is fully prepared, the HTTP exchange may be performed with OSSL_HTTP_REQ_CTX_nbio() or OSSL_HTTP_REQ_CTX_sendreq_d2i(). -Furthermore, all calls of OSSL_HTTP_REQ_CTX_set_request_line() and -OSSL_HTTP_REQ_CTX_add1_header() must be done before any call to -int OSSL_HTTP_REQ_CTX_nbio() or OSSL_HTTP_REQ_CTX_sendreq_d2i(). - =head1 RETURN VALUES OSSL_HTTP_REQ_CTX_new() returns a pointer to a B, or NULL