[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/03: Upgraded TLS: warn if emergency buffer is used
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/03: Upgraded TLS: warn if emergency buffer is used |
Date: |
Wed, 29 Mar 2023 20:18:37 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit ea247786dae7953617ee2251c1bb7370dadd501f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Mar 29 17:13:46 2023 +0200
Upgraded TLS: warn if emergency buffer is used
---
src/microhttpd/response.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
index 9cab223f..f0ca7825 100644
--- a/src/microhttpd/response.c
+++ b/src/microhttpd/response.c
@@ -2059,6 +2059,11 @@ MHD_response_execute_upgrade_ (struct MHD_Response
*response,
use our 'emergency' buffer of #RESERVE_EBUF_SIZE bytes. */
avail = RESERVE_EBUF_SIZE;
buf = urh->e_buf;
+#ifdef HAVE_MESSAGES
+ MHD_DLOG (daemon,
+ _ ("Memory shortage in connection's memory pool. " \
+ "The \"upgraded\" communication will be inefficient.\n"));
+#endif
}
else
{
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.