enabling http debugging because here comes caldav ugh
authorArt Cancro <ajc@citadel.org>
Wed, 31 Jan 2024 02:12:26 +0000 (16:12 -1000)
committerArt Cancro <ajc@citadel.org>
Wed, 31 Jan 2024 02:12:26 +0000 (16:12 -1000)
webcit-ng/server/http.c
webcit-ng/server/webcit.h

index d6037f94365f6851f8e1a8138b86caa6fd3dc45e..77c158fe4776a032b69e654d0403bf816481aa3d 100644 (file)
@@ -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.
index 54529c83b7e415747e9627b074426975444cc732..b5b8bb2e34a8ee823b5810d4dd9404ac039e1086 100644 (file)
@@ -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 <stdlib.h>
@@ -42,7 +47,6 @@
 #include <openssl/rand.h>
 #include <expat.h>
 #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