From 09e6dd2aacd7f7485c1edae78058d6f1bc2cefd2 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Date: Mon, 30 Jul 2007 16:59:25 -0400 Subject: TODO --- tests/lacwget.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/lacwget.c b/tests/lacwget.c index 8588f3a..c7a182d 100644 --- a/tests/lacwget.c +++ b/tests/lacwget.c @@ -451,16 +451,20 @@ http_callback (LacHttpRequest *request, const LacHttpEvent *event) switch (event->type) { case LAC_HTTP_EVENT_HOST_FOUND: +#if 0 g_print ("%s: dns lookup complete at %f (%s: %s)\n", page_info->main_uri, g_timer_elapsed (total, NULL), event->host_found.hostname, lac_address_to_string (event->host_found.address)); +#endif break; case LAC_HTTP_EVENT_SENT: page_info->first_connect = g_timer_elapsed (page_info->timer, NULL); +#if 0 g_print ("%s: sent \n", page_info->main_uri); +#endif break; case LAC_HTTP_EVENT_CONNECTING: @@ -593,7 +597,9 @@ do_download (LacUri *base_uri, const gchar *uri_str, gboolean try_parse) page_info->file = fopen (create_name (uri_str), "w"); +#if 0 g_print ("write: %s\n", create_name (uri_str)); +#endif #if 0 printf ("uri: %s\n", uri_str); @@ -652,7 +658,9 @@ do_download (LacUri *base_uri, const gchar *uri_str, gboolean try_parse) printf ("length: %d\n", outstanding_page_infos->len); #endif +#if 0 g_print ("dispatched %s at %f\n", page_info->main_uri, g_timer_elapsed (total, NULL)); +#endif lac_http_request_dispatch (request); return TRUE; } -- cgit v1.2.3