Revert r10650/1. We no longer require noisy fetch/cache logging.

svn path=/trunk/netsurf/; revision=11223
This commit is contained in:
John Mark Bell 2011-01-06 00:31:54 +00:00
parent 77ea8a8d63
commit 3fcb02afa1
3 changed files with 4 additions and 7 deletions

View File

@ -51,7 +51,7 @@
#include "utils/ring.h" #include "utils/ring.h"
/* Define this to turn on verbose fetch logging */ /* Define this to turn on verbose fetch logging */
#define DEBUG_FETCH_VERBOSE #undef DEBUG_FETCH_VERBOSE
bool fetch_active; /**< Fetches in progress, please call fetch_poll(). */ bool fetch_active; /**< Fetches in progress, please call fetch_poll(). */

View File

@ -180,11 +180,8 @@ void fetch_curl_register(void)
SETOPT(CURLOPT_VERBOSE, 0); SETOPT(CURLOPT_VERBOSE, 0);
} }
SETOPT(CURLOPT_ERRORBUFFER, fetch_error_buffer); SETOPT(CURLOPT_ERRORBUFFER, fetch_error_buffer);
/* jmb -- don't suppress curl debug while we're if (option_suppress_curl_debug)
* investigating low-level cache crashes SETOPT(CURLOPT_DEBUGFUNCTION, fetch_curl_ignore_debug);
* if (option_suppress_curl_debug)
* SETOPT(CURLOPT_DEBUGFUNCTION, fetch_curl_ignore_debug);
*/
SETOPT(CURLOPT_WRITEFUNCTION, fetch_curl_data); SETOPT(CURLOPT_WRITEFUNCTION, fetch_curl_data);
SETOPT(CURLOPT_HEADERFUNCTION, fetch_curl_header); SETOPT(CURLOPT_HEADERFUNCTION, fetch_curl_header);
SETOPT(CURLOPT_PROGRESSFUNCTION, fetch_curl_progress); SETOPT(CURLOPT_PROGRESSFUNCTION, fetch_curl_progress);

View File

@ -36,7 +36,7 @@
#include "utils/utils.h" #include "utils/utils.h"
/** Define to enable tracing of llcache operations. */ /** Define to enable tracing of llcache operations. */
#define LLCACHE_TRACE #undef LLCACHE_TRACE
/** State of a low-level cache object fetch */ /** State of a low-level cache object fetch */
typedef enum { typedef enum {