summaryrefslogtreecommitdiff
path: root/util.c
AgeCommit message (Collapse)Author
2012-07-11Be more careful about freeing memoryNick White
2012-07-10Make HTTP interface more regularNick White
2012-07-10Clean up styleNick White
2012-07-10Simplify HTTP handlingNick White
2012-07-10Fix potential bug in HTTP codeNick White
2012-04-21Revert most of 4bfac013 as it caused cookie failureNick White
2012-03-29Clean up string usageNick White
2012-03-29Use strncpy and strncat more safelyNick White
2012-02-12Remove debugging printfNick White
2012-02-12Fix bug in HTTP header parsingNick White
HTTP headers, when contained in more than one packet, could be misread, causing cookie loss.
2011-11-30Use appropriate file extensions when savingNick White
2011-11-30Make http implementation more robustNick White
2011-11-19Add error messages regarding 403 ip blockingNick White
2011-10-04Use appropriate cast for strlenNick White
2011-09-29Post to goToPage amazon url; more reliable for some reasonNick White
2011-09-01Fix cookie saving, update TODONick White
2011-08-22Little util cleanupNick White
2011-08-22Fix stability bug in page fetchingNick White
2011-08-21Merge work using pages much more efficientlyNick White
2011-08-21More sscanf tighteningNick White
2011-08-18Little cleanup of utilNick White
2011-08-18Final windows fixes; working with mingw nowNick White
2011-08-18Little cleanupNick White
2011-08-18Get socket stuff working fully, fix bug in cookie sendingNick White
2011-08-18Start using socket functions instead (still not quite there)Nick White
2011-08-17Allow mingw building (socket reading won't work yet)Nick White
2011-08-03Be more careful to fail gracefully if server replies wierdlyNick White
2011-08-01Lots of tightening and cleanupsNick White
2011-07-24Add cookie usageNick White
2011-07-21Separate util.c, use page codes, remove die()Nick White
2011-07-17Remove ip setting; only works for api, not pages, so uselessNick White
2011-07-17Add ip setting and improve robustness of httpNick White
2011-07-17Busywork neateningNick White
2011-07-16Improve build systemNick White
2011-07-16Close socket handle after useNick White
2011-07-16Tighten memory usageNick White
2011-07-16Little further get() cleanupNick White
2011-07-16Simplify get() furtherNick White
2011-07-16Simplify header processingNick White
2011-07-16added gettofile function, other cleanupsNick White
2011-07-16Fix host usage in get()Nick White
2011-07-16Simplify http get codeNick White
2011-07-15Little cleanupsNick White
2011-07-15Fix malloc bugNick White
2011-07-15Separate into util.c again, so can use common functions in different book ↵Nick White
getters
2011-07-15Move everything back to getgbook.cNick White
2011-07-15Move parts over to util.cNick White