gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 06/13: Improved doxy for MHD_add_response_header()


From: gnunet
Subject: [libmicrohttpd] 06/13: Improved doxy for MHD_add_response_header()
Date: Sat, 30 Oct 2021 19:17:23 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 38a571a908305b45a3d08c98f5de084313c803e3
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 30 17:28:30 2021 +0300

    Improved doxy for MHD_add_response_header()
---
 src/include/microhttpd.h  | 10 ++++++----
 src/microhttpd/response.c | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 00961d15..a100d950 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -3822,10 +3822,12 @@ MHD_destroy_response (struct MHD_Response *response);
  *   encoding, however for HTTP/1.0 clients chunked encoding will not be used
  *   and manually set "Transfer-Encoding" header is automatically removed
  *   for HTTP/1.0 clients
- * + "Connection" is added automatically with value "Keep-Alive" or "Close".
- *   The header "Connection" with value "Close" could be set by this function
- *   to enforce closure of the connection after sending this response.
- *   "Keep-Alive" cannot be enforced and will be removed automatically.
+ * + "Connection" may be added automatically with value "Keep-Alive" (only
+ *   for HTTP/1.0 clients) or "Close". The header "Connection" with value
+ *   "Close" could be set by this function to enforce closure of
+ *   the connection after sending this response. "Keep-Alive" cannot be
+ *   enforced and will be removed automatically.
+ *   @see #MHD_RF_SEND_KEEP_ALIVE_HEADER
  *
  * Some headers are pre-processed by this function:
  * * "Connection" headers are combined into single header entry, value is
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 7df2a0c6..ca3639f4 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -460,10 +460,12 @@ del_response_header_connection (struct MHD_Response 
*response,
  *   encoding, however for HTTP/1.0 clients chunked encoding will not be used
  *   and manually set "Transfer-Encoding" header is automatically removed
  *   for HTTP/1.0 clients
- * + "Connection" is added automatically with value "Keep-Alive" or "Close".
- *   The header "Connection" with value "Close" could be set by this function
- *   to enforce closure of the connection after sending this response.
- *   "Keep-Alive" cannot be enforced and will be removed automatically.
+ * + "Connection" may be added automatically with value "Keep-Alive" (only
+ *   for HTTP/1.0 clients) or "Close". The header "Connection" with value
+ *   "Close" could be set by this function to enforce closure of
+ *   the connection after sending this response. "Keep-Alive" cannot be
+ *   enforced and will be removed automatically.
+ *   @see #MHD_RF_SEND_KEEP_ALIVE_HEADER
  *
  * Some headers are pre-processed by this function:
  * * "Connection" headers are combined into single header entry, value is

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]