gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 19/29: connection: fixed pipelined requests processing


From: gnunet
Subject: [libmicrohttpd] 19/29: connection: fixed pipelined requests processing
Date: Tue, 20 Jun 2023 22:24:32 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5a9f64bc6a497a41f0cbcd80ee883e0747c08a98
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Jun 14 10:57:23 2023 +0300

    connection: fixed pipelined requests processing
---
 src/microhttpd/connection.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 4716eb0f..0c49a39d 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -6159,7 +6159,9 @@ connection_reset (struct MHD_Connection *connection,
 
     c->keepalive = MHD_CONN_KEEPALIVE_UNKOWN;
     c->state = MHD_CONNECTION_INIT;
-    c->event_loop_info = MHD_EVENT_LOOP_INFO_READ;
+    c->event_loop_info =
+      (0 == c->read_buffer_offset) ?
+      MHD_EVENT_LOOP_INFO_READ : MHD_EVENT_LOOP_INFO_PROCESS;
 
     memset (&c->rq, 0, sizeof(c->rq));
 

-- 
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]