[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 03/04: "Upgraded" TLS connections: force processing agai
From: |
gnunet |
Subject: |
[libmicrohttpd] 03/04: "Upgraded" TLS connections: force processing again if 'was_close' missed |
Date: |
Sat, 02 Dec 2023 18:17:05 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 6fb386ec44348f5ff36afd5fd6d9cf1174d92532
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Nov 26 18:56:40 2023 +0300
"Upgraded" TLS connections: force processing again if 'was_close' missed
---
src/microhttpd/daemon.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 146559b4..206b4ffe 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1769,6 +1769,9 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
urh->out_buffer_size = 0;
urh->mhd.celi &= ~((enum MHD_EpollState) MHD_EPOLL_STATE_READ_READY);
}
+
+ if (! was_closed && urh->was_closed)
+ daemon->data_already_pending = true; /* Force processing again */
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.