From: Art Cancro Date: Wed, 31 Jan 2024 02:12:26 +0000 (-1000) Subject: enabling http debugging because here comes caldav ugh X-Git-Tag: v998~4 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=88c85ddb9e714faa214de6b103ed5bbf8d0bedea enabling http debugging because here comes caldav ugh --- diff --git a/webcit-ng/server/http.c b/webcit-ng/server/http.c index d6037f943..77c158fe4 100644 --- a/webcit-ng/server/http.c +++ b/webcit-ng/server/http.c @@ -5,11 +5,6 @@ // This program is open source software. Use, duplication, or // disclosure is subject to the GNU General Public License v3. -// uncomment one or more of these to see raw http transactions -//#define DEBUG_HTTP -//#define REQUEST_BODY_TO_STDERR -//#define RESPONSE_BODY_TO_STDERR - #include "webcit.h" // Write data to the HTTP client. Encrypt if necessary. diff --git a/webcit-ng/server/webcit.h b/webcit-ng/server/webcit.h index 54529c83b..b5b8bb2e3 100644 --- a/webcit-ng/server/webcit.h +++ b/webcit-ng/server/webcit.h @@ -5,6 +5,11 @@ // This program is open source software. Use, duplication, or // disclosure is subject to the GNU General Public License v3. +// uncomment one or more of these to see raw http transactions +#define DEBUG_HTTP +#define REQUEST_BODY_TO_STDERR +//#define RESPONSE_BODY_TO_STDERR + #define SHOW_ME_VAPPEND_PRINTF #include @@ -42,7 +47,6 @@ #include #include #define _(x) x // temporary hack until we add i18n back in -//#define DEBUG_HTTP // uncomment to debug HTTP headers // XML_StopParser is present in expat 2.x #if XML_MAJOR_VERSION < 2