summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-03-06 10:02:56 +0000
committerNick White <git@njw.me.uk>2012-03-06 10:02:56 +0000
commit56a14c705e74988f8ab213ce2dce28cbccd590a3 (patch)
tree56aa3d6b53cd64800c8c07bd1cbcedfd7aaf6f07 /TODO
parenta1a41d1db3274f62b3287a7c10066047a8c4ab99 (diff)
Update TODO
Diffstat (limited to 'TODO')
-rw-r--r--TODO4
1 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index e420875..c9410bd 100644
--- a/TODO
+++ b/TODO
@@ -2,7 +2,9 @@ before 1.0: fix http bug, package for osx
# other todos
-bug in get() & post(): if the \r\n\r\n after http headers is cut off between recv buffers
+bug in get() & post(): if the \r\n\r\n after http headers is cut off between recv buffers. solution is to get all, then strstr(\n\r\n\r) to find end of header, and memcopy the rest out (so that original memory can be freed)
+
+in getabook, the web client tries downloading sequentially the first few pages, regardless of whether they're in the available page list. this actually works (some or all of these pages will return), so we should implement something similar too. exactly how it knows when to stop looking is not clear, at least with the one i tried, it just tried all of the first 25 pages.
in getgbook, check that downloaded page doesn't match 'page not available' image; if so delete (as may be redownloadable later, perhaps even then with different cookies)