[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 04/04: "Upgraded" TLS connections: fixed sending of larg
From: |
gnunet |
Subject: |
[libmicrohttpd] 04/04: "Upgraded" TLS connections: fixed sending of large messages |
Date: |
Sat, 02 Dec 2023 18:17:06 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit f6e4e13e92a2831787d90ceec3e716935a471bb4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Nov 26 19:37:19 2023 +0300
"Upgraded" TLS connections: fixed sending of large messages
In epoll mode with internal threads if large enough (>16KB) sending
buffer is used, "write ready" status could be cleared when it should
not.
Note: to have >16KB buffer for sending, connection pool memory should
be >32KB + request header size (+ various pointers size).
---
src/microhttpd/daemon.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 206b4ffe..1dc2a3bd 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1656,8 +1656,6 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
memmove (urh->out_buffer,
&urh->out_buffer[res],
next_out_buffer_used);
- if (data_size > (size_t) res)
- urh->app.celi &= ~((enum MHD_EpollState)
MHD_EPOLL_STATE_WRITE_READY);
}
urh->out_buffer_used = next_out_buffer_used;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.