Added the --http-debug option to ocserv to avoid printing full HTTP messages to normal debug mode.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-11-16 17:33:50 +01:00
parent d3a6759bc7
commit e08f70987a
9 changed files with 36 additions and 10 deletions
+3
View File
@@ -475,6 +475,9 @@ int cmd_parser (int argc, char **argv, struct cfg_st* config)
if (HAVE_OPT(TLS_DEBUG))
config->tls_debug = 1;
if (HAVE_OPT(HTTP_DEBUG))
config->http_debug = 1;
if (HAVE_OPT(DEBUG))
config->debug = 1;