summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsandmann <sandmann>2005-11-19 02:34:21 +0000
committersandmann <sandmann>2005-11-19 02:34:21 +0000
commit629038b8dbafaaa92478b78694da32789050c3c5 (patch)
tree5a400518090bb3e9dc314b670858fd1545f50574
parent8570e7742754fc1313c49297d1d73b7fbae852bb (diff)
*** empty log message ***
-rwxr-xr-xTODO4
-rw-r--r--tests/lacwget.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/TODO b/TODO
index 5298e80..1979d1e 100755
--- a/TODO
+++ b/TODO
@@ -10,6 +10,10 @@ correctness:
LAC_HTTP_ERROR_BUGGY_PIPELINING indicating that the
server-side implementation of pipelining is buggy.
+ * Need to handle POLLERR on the dns file descriptor. We can
+ somehow get connrefused. LacWatch code should also be fixed
+ to it doesn't spin hwen et gets POLLERR and noone cares.
+
* SIGPIPE?
- ignore it around calls to send()?
diff --git a/tests/lacwget.c b/tests/lacwget.c
index bf38506..8588f3a 100644
--- a/tests/lacwget.c
+++ b/tests/lacwget.c
@@ -578,6 +578,8 @@ create_name (const char *uri_str)
if (last_slash)
return g_strdup (last_slash + 1);
+ else
+ return g_strdup (uri_str);
}
static gboolean
@@ -590,6 +592,8 @@ do_download (LacUri *base_uri, const gchar *uri_str, gboolean try_parse)
page_info->try_parse = try_parse;
page_info->file = fopen (create_name (uri_str), "w");
+
+ g_print ("write: %s\n", create_name (uri_str));
#if 0
printf ("uri: %s\n", uri_str);