[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 11/13: setup_reply_properties(): improved comments
From: |
gnunet |
Subject: |
[libmicrohttpd] 11/13: setup_reply_properties(): improved comments |
Date: |
Sat, 30 Oct 2021 19:17:28 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 4b408a7608e0f0f41abd29eb3dc872aeeeb5c78e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sat Oct 30 18:20:44 2021 +0300
setup_reply_properties(): improved comments
---
src/microhttpd/connection.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index faf61838..5f4ae11f 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1760,7 +1760,7 @@ setup_reply_properties (struct MHD_Connection *connection)
{
if ((MHD_SIZE_UNKNOWN == r->total_size) ||
(0 != (r->flags_auto & MHD_RAF_HAS_TRANS_ENC_CHUNKED)))
- { /* Chunked reply encoding is needed if possible */
+ { /* Use chunked reply encoding if possible */
/* Check whether chunked encoding is supported by the client */
if (! MHD_IS_HTTP_VER_1_1_COMPAT (c->http_ver))
@@ -1787,7 +1787,7 @@ setup_reply_properties (struct MHD_Connection *connection)
}
}
else
- use_chunked = false; /* Actually it must not be used without body */
+ use_chunked = false; /* chunked encoding cannot be used without body */
c->rp_props.chunked = use_chunked;
c->rp_props.set = true;
--
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 <=
- [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, 2021/10/30