[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.
- [libmicrohttpd] branch master updated (22300a52 -> 645b0140), gnunet, 2021/10/30
- [libmicrohttpd] 02/13: Updated HTTP methods, gnunet, 2021/10/30
- [libmicrohttpd] 04/13: microhttpd.h: fixed typo in doxy, gnunet, 2021/10/30
- [libmicrohttpd] 07/13: src/microhttpd/Makefile.am: removed empty lines, gnunet, 2021/10/30
- [libmicrohttpd] 05/13: microhttpd.h: MHD_ResponseFlags comments, gnunet, 2021/10/30
- [libmicrohttpd] 08/13: keepalive_possible(): added TODOs, gnunet, 2021/10/30
- [libmicrohttpd] 03/13: Updated HTTP headers names, gnunet, 2021/10/30
- [libmicrohttpd] 11/13: setup_reply_properties(): improved comments, gnunet, 2021/10/30
- [libmicrohttpd] 01/13: Updated HTTP statuses, gnunet, 2021/10/30
- [libmicrohttpd] 13/13: build_header_response(): added assert, gnunet, 2021/10/30
- [libmicrohttpd] 06/13: Improved doxy for MHD_add_response_header(),
gnunet <=
- [libmicrohttpd] 10/13: connection_maximize_write_buffer(): fixed comment, gnunet, 2021/10/30
- [libmicrohttpd] 09/13: get_date_str(): additional check, gnunet, 2021/10/30
- [libmicrohttpd] 12/13: connection.c: improved comments, gnunet, 2021/10/30