diff options
author | Søren Sandmann <sandmann@redhat.com> | 2007-07-30 16:59:25 -0400 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2007-07-30 16:59:25 -0400 |
commit | 09e6dd2aacd7f7485c1edae78058d6f1bc2cefd2 (patch) | |
tree | 465c26ee7160c0ba867bec735c03171ea8d7b2e0 /tests | |
parent | 8ff30a75f2535a505fd690cefffd00d160208de9 (diff) |
TODO
Diffstat (limited to 'tests')
-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; } |