2008-01-29 Jari Sundell * Added support for DHT. Patch by Josef Drexler. * Cleanup and refactoring of the API. * Enable PEX by default. * Added 'p.multicall', 'd.set_directory_base', 'get_{up,down}_{rate,total}', and more. * Support for lazy creation and resize of file has been added. This also ensures deleted files are properly detected and the user notified. The files can be recreated by using the ^E key. * Keep a cache listing all, including failed, torrent loads and the mtimes of those files. This is used to ensure that e.g. the watch dir does not try to load bad/duplicate torrents, in addition to optimizing the pruning of those already loaded. * Fixed a crash in apply_on_ratio when an iterator got invalidated by erasing the download currently pointed to. * Fixed the --with-xmlrpc-c autoconf check so that you can pass an alternative path to an xmlrpc-c-config script. * Fixed a race condition in the handshake read/write code. Patch by Josef Drexler. * Fixed a bug causing empty PEX messages to stall piece writing. Patch by Josef Drexler.