From 56a14c705e74988f8ab213ce2dce28cbccd590a3 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 6 Mar 2012 10:02:56 +0000 Subject: Update TODO --- TODO | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3