diff options
Diffstat (limited to 'tests/lacwget.c')
-rw-r--r-- | tests/lacwget.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; } |