[Openvas-commits] r5680 - in trunk/gsa: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 23 09:04:19 CEST 2009
Author: jan
Date: 2009-10-23 09:04:19 +0200 (Fri, 23 Oct 2009)
New Revision: 5680
Modified:
trunk/gsa/ChangeLog
trunk/gsa/src/gsad.c
Log:
* src/gsad.c (main): Apply DEBUG flag for MHD.
(request_handler): Fix typo.
Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2009-10-23 06:19:39 UTC (rev 5679)
+++ trunk/gsa/ChangeLog 2009-10-23 07:04:19 UTC (rev 5680)
@@ -1,5 +1,10 @@
2009-10-23 Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+ * src/gsad.c (main): Apply DEBUG flag for MHD.
+ (request_handler): Fix typo.
+
+2009-10-23 Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+
* src/gsad.c (request_handler): Fix call of gsad_newtask,
use g_strconcat.
(gsad_init): Init glib.
Modified: trunk/gsa/src/gsad.c
===================================================================
--- trunk/gsa/src/gsad.c 2009-10-23 06:19:39 UTC (rev 5679)
+++ trunk/gsa/src/gsad.c 2009-10-23 07:04:19 UTC (rev 5680)
@@ -243,7 +243,7 @@
{
tracef ("File %s failed, ", path);
g_free (path);
- path = g_strconcat (GSA_STATE_DIR, default_file, NULLl);
+ path = g_strconcat (GSA_STATE_DIR, default_file, NULL);
tracef ("trying default file <%s>.\n", path);
file = fopen (path, "r"); /* flawfinder: ignore, this file is just
read and sent */
@@ -611,7 +611,7 @@
if (use_ssl == 0)
{
- gsad_daemon = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION,
+ gsad_daemon = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG,
gsad_port, NULL, NULL, &request_handler,
NULL, MHD_OPTION_NOTIFY_COMPLETED,
free_resources, NULL, MHD_OPTION_END);
@@ -637,7 +637,7 @@
}
gsad_daemon =
- MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL,
+ MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_SSL | MHD_USE_DEBUG,
gsad_port, NULL, NULL, &request_handler, NULL,
MHD_OPTION_HTTPS_MEM_KEY, ssl_private_key,
MHD_OPTION_HTTPS_MEM_CERT, ssl_certificate,
@@ -666,3 +666,4 @@
}
return 0;
}
+
More information about the Openvas-commits
mailing list