From 4e6b01857db64898a4619415543eefca771a527e Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 10 Jul 2012 20:57:07 +0100 Subject: Fix potential bug in HTTP code --- TODO | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 87bc878..d4b9297 100644 --- a/TODO +++ b/TODO @@ -1,20 +1,14 @@ # other todos -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) +format and package man pages in win packages 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) in getbnbook, check that downloaded page doesn't match 'page not available' swf; if so delete (as may be redownloadable later, perhaps even then with different cookies) -in getgbook, grab the link data (presumably as json somewhere), and add this to pdf - -1.0 format and package man pages in win and osx packages +submit 'pad' file to websites http://padsites.asp-software.org/ write some little tests -1.0 submit 'pad' file to websites http://padsites.asp-software.org/ - -add function to download html text to getabook (just a html request to get kindle version) - add scribd functionality - example is http://www.scribd.com/doc/20448287/Etidorhpa-John-Uri-Lloyd producing urls like http://htmlimg3.scribdassets.com/1qva8jpekgdk0wl/images/1-bfa8361a96.jpg -- cgit v1.2.3