libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit d6aff032347ea051610fd23c1791f5ed37fec512
parent 047188f0f7e658682c4983c6b05f8b26845904eb
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 11 Sep 2008 02:50:17 +0000

fix

Diffstat:
Msrc/testcurl/https/mhds_multi_daemon_test.c | 4+++-
Msrc/testcurl/https/mhds_session_info_test.c | 3++-
Msrc/testcurl/https/tls_authentication_test.c | 3++-
3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/testcurl/https/mhds_multi_daemon_test.c b/src/testcurl/https/mhds_multi_daemon_test.c @@ -29,6 +29,8 @@ #include <curl/curl.h> #include <sys/stat.h> +#define DEBUG_CURL_VERBOSE 0 + #define PAGE_NOT_FOUND "<html><head><title>File not found</title></head><body>File not found</body></html>" #define MHD_E_SERVER_INIT "Error: failed to start server\n" @@ -162,7 +164,7 @@ test_daemon_get (FILE * test_fd, char *cipher_suite, int proto_version, test_file_name); c = curl_easy_init (); -#ifdef DEBUG +#if DEBUG_CURL_VERBOSE curl_easy_setopt (c, CURLOPT_VERBOSE, 1); #endif curl_easy_setopt (c, CURLOPT_URL, url); diff --git a/src/testcurl/https/mhds_session_info_test.c b/src/testcurl/https/mhds_session_info_test.c @@ -28,6 +28,7 @@ #include "microhttpd.h" #include <curl/curl.h> +#define DEBUG_CURL_VERBOSE 0 #define EMPTY_PAGE "<html><head><title>Empty page</title></head><body>Empty page</body></html>" #include "tls_test_keys.h" @@ -166,7 +167,7 @@ test_query_session () return 2; c = curl_easy_init (); -#ifdef DEBUG +#ifdef DEBUG_CURL_VERBOSE curl_easy_setopt (c, CURLOPT_VERBOSE, 1); #endif curl_easy_setopt (c, CURLOPT_URL, url); diff --git a/src/testcurl/https/tls_authentication_test.c b/src/testcurl/https/tls_authentication_test.c @@ -29,6 +29,7 @@ #include <curl/curl.h> #include <sys/stat.h> +#define DEBUG_CURL_VERBOSE 0 #define PAGE_NOT_FOUND "<html><head><title>File not found</title></head><body>File not found</body></html>" #define MHD_E_MEM "Error: memory error\n" @@ -170,7 +171,7 @@ test_daemon_get (FILE * test_fd, char *cipher_suite, int proto_version) doc_path, test_file_name); c = curl_easy_init (); -#ifdef DEBUG +#if DEBUG_CURL_VERBOSE curl_easy_setopt (c, CURLOPT_VERBOSE, 1); #endif curl_easy_setopt (c, CURLOPT_URL, url);