[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 09/10: daemon: added reporting of the position of proble
From: |
gnunet |
Subject: |
[libmicrohttpd] 09/10: daemon: added reporting of the position of problem in priorities string |
Date: |
Thu, 13 Oct 2022 08:40:49 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 9f659a60b0bf8cdc470d45719df8e9864c454982
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Oct 12 18:31:40 2022 +0300
daemon: added reporting of the position of problem in priorities string
---
src/microhttpd/daemon.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 35405f9f..8fb64410 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -6427,16 +6427,19 @@ parse_options_va (struct MHD_Daemon *daemon,
if (MHD_OPTION_HTTPS_PRIORITIES == opt)
{
int init_res;
+ const char *err_pos;
init_res = gnutls_priority_init (&daemon->priority_cache,
pstr,
- NULL);
+ &err_pos);
if (GNUTLS_E_SUCCESS != init_res)
{
#ifdef HAVE_MESSAGES
MHD_DLOG (daemon,
- _ ("Setting priorities to `%s' failed: %s\n"),
+ _ ("Setting priorities to '%s' failed: %s " \
+ "The problematic part starts at: %s\n"),
pstr,
- gnutls_strerror (init_res));
+ gnutls_strerror (init_res),
+ err_pos);
#endif
daemon->priority_cache = NULL;
return MHD_NO;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (c930fe1a -> 778e2a03), gnunet, 2022/10/13
- [libmicrohttpd] 01/10: testcurl/https: handle libcurl with missing custom CA support, gnunet, 2022/10/13
- [libmicrohttpd] 04/10: TLS: use application-specific system-wide configuration with fallbacks, gnunet, 2022/10/13
- [libmicrohttpd] 03/10: mhd_assert: use "DEBUG" macro defined by some toolchains, gnunet, 2022/10/13
- [libmicrohttpd] 05/10: testcurl/https/Makefile.am: removed bad whitespace, gnunet, 2022/10/13
- [libmicrohttpd] 09/10: daemon: added reporting of the position of problem in priorities string,
gnunet <=
- [libmicrohttpd] 08/10: daemon: merged processing of two similar options, gnunet, 2022/10/13
- [libmicrohttpd] 02/10: testcurl/https: enabled parallel make, gnunet, 2022/10/13
- [libmicrohttpd] 06/10: Added new MHD option to append TLS priorities string, gnunet, 2022/10/13
- [libmicrohttpd] 07/10: testcurl/https: added test for MHD_OPTION_HTTPS_PRIORITIES_APPEND, gnunet, 2022/10/13
- [libmicrohttpd] 10/10: testcurl/https: minor improvements, gnunet, 2022/10/13