This commit is contained in:
Christian Grothoff
2008-09-11 02:50:17 +00:00
parent 047188f0f7
commit d6aff03234
3 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -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);
+2 -1
View File
@@ -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);
+2 -1
View File
@@ -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);