[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 12/13: connection.c: improved comments
From: |
gnunet |
Subject: |
[libmicrohttpd] 12/13: connection.c: improved comments |
Date: |
Sat, 30 Oct 2021 19:17:29 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 057ecebe5980e9f9a2e5dbaa1b55a824800ab97b
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 30 20:10:09 2021 +0300
connection.c: improved comments
---
src/microhttpd/connection.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 5f4ae11f..a73c378f 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1844,7 +1844,7 @@ buffer_append (char *buf,
* @param buf_size the size of the @a buf
* @param response the response
* @param kind the kind of objects (headers or footers)
- * @param filter_transf_enc skip "Transfer-Encoding" header
+ * @param filter_transf_enc skip "Transfer-Encoding" header if any
* @param add_close add "close" token to the
* "Connection:" header (if any), ignored if no "Connection:"
* header was added by user or if "close" token is already
@@ -1909,7 +1909,8 @@ add_user_headers (char *buf,
buf[(*ppos)++] = ':';
buf[(*ppos)++] = ' ';
if (add_close || add_keep_alive)
- { /* "Connection:" header must be always the first one */
+ {
+ /* "Connection:" header must be always the first one */
mhd_assert (MHD_str_equal_caseless_n_ (hdr->header, \
MHD_HTTP_HEADER_CONNECTION, \
hdr->header_size));
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 07/13: src/microhttpd/Makefile.am: removed empty lines, (continued)
- [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, 2021/10/30
- [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 <=