[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd2] 06/12: mhd_stream_finish_req_serving(): minor simplific
From: |
Admin |
Subject: |
[libmicrohttpd2] 06/12: mhd_stream_finish_req_serving(): minor simplification |
Date: |
Fri, 06 Jun 2025 16:01:14 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd2.
commit f35064fc9ba508b2351a4ea2e700e5c49af69e26
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
AuthorDate: Wed Jun 4 13:16:55 2025 +0200
mhd_stream_finish_req_serving(): minor simplification
---
src/mhd2/stream_funcs.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mhd2/stream_funcs.c b/src/mhd2/stream_funcs.c
index f6e37ce..cf94ed9 100644
--- a/src/mhd2/stream_funcs.c
+++ b/src/mhd2/stream_funcs.c
@@ -567,9 +567,7 @@ mhd_stream_finish_req_serving (struct MHD_Connection
*restrict c,
c->conn_reuse = mhd_CONN_KEEPALIVE_POSSIBLE;
c->stage = mhd_HTTP_STAGE_INIT;
- c->event_loop_info =
- (0 == c->read_buffer_offset) ?
- MHD_EVENT_LOOP_INFO_RECV : MHD_EVENT_LOOP_INFO_PROCESS;
+ c->event_loop_info = MHD_EVENT_LOOP_INFO_RECV; /* Dummy state, real state
set later */
// TODO: move request reset to special function
memset (&c->rq, 0, sizeof(c->rq));
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd2] branch master updated (2e6777f -> cdd4c1f), Admin, 2025/06/06
- [libmicrohttpd2] 03/12: mhd_response_check_frozen_freeze(): fixed assert, Admin, 2025/06/06
- [libmicrohttpd2] 01/12: Added missing includes for "mhd_assert.h", sorted some includes, Admin, 2025/06/06
- [libmicrohttpd2] 04/12: Improved error reporting for the listen socket creation, Admin, 2025/06/06
- [libmicrohttpd2] 06/12: mhd_stream_finish_req_serving(): minor simplification,
Admin <=
- [libmicrohttpd2] 05/12: perf_replies: muted compiler warning, Admin, 2025/06/06
- [libmicrohttpd2] 02/12: Unified debug macro checks, Admin, 2025/06/06
- [libmicrohttpd2] 09/12: Added detection and used "externally_visible" function attribute, Admin, 2025/06/06
- [libmicrohttpd2] 07/12: mhd_atomic_counter: fixed formatting, fixed single thread version build, Admin, 2025/06/06
- [libmicrohttpd2] 08/12: configure: improved test for alignof() detection, Admin, 2025/06/06
- [libmicrohttpd2] 10/12: Implemented and used counters based on atomic variables, Admin, 2025/06/06
- [libmicrohttpd2] 12/12: get_all_net_updates_by_epoll(): reduced the size of the data passed to the kernel, Admin, 2025/06/06
- [libmicrohttpd2] 11/12: Made zeroing of memory pool optional, other memory pool improvements, Admin, 2025/06/06