summaryrefslogtreecommitdiff
path: root/apps/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-05-10 09:37:36 +0200
committerDr. David von Oheimb <dev@ddvo.net>2021-05-14 19:24:42 +0200
commitcc1af4dbfe61317e3ade562bd80201f775d01ee6 (patch)
tree6583dfbd62c6142323e3a4c97b0930a69587011e /apps/include
parent5a0e05413aa54ee9b463e3f59eefeb3aa35d0958 (diff)
downloadopenssl-new-cc1af4dbfe61317e3ade562bd80201f775d01ee6.tar.gz
HTTP test server: Improve connection management and logging
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15053)
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/http_server.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/include/http_server.h b/apps/include/http_server.h
index 1264753899..9520eb4dac 100644
--- a/apps/include/http_server.h
+++ b/apps/include/http_server.h
@@ -35,12 +35,14 @@
# include <signal.h>
# define MAXERRLEN 1000 /* limit error text sent to syslog to 1000 bytes */
# else
+# undef LOG_DEBUG
# undef LOG_INFO
# undef LOG_WARNING
# undef LOG_ERR
-# define LOG_INFO 0
-# define LOG_WARNING 1
-# define LOG_ERR 2
+# define LOG_DEBUG 7
+# define LOG_INFO 6
+# define LOG_WARNING 4
+# define LOG_ERR 3
# endif
/*-