If none given, use announce URL as label. Torrents added with previous versions of btpd will show up as "bad torrent entry" Closes GH-26
Accept .torrent files whose bencoded dictionaries are not in alphabetical order.
This specifies the number of wanted peers to the tracker and is configurable from the commandline flag "--numwant". Closes GH-5
This adds a 'rate' command to modify the up and download rates on the fly. Closes GH-10
Added printf()-style '%' and '\' sequences for custom list formats. Updated btcli manpage to reflect change and start -a. Closes GH-8
Modified patch from savrus and nicm. Allows adding multiple torrents from one 'btcli add' command. Also made minor improvements to add code. Closes GH-9
There was a warning at the end of addrinfo_td because it returns a "void *" but had no return statement. The fix was call pthread_exit().
There was a hard-coded 2MB file size limit on the .torrent files. Set the limit to 0 so read_file() will use the actual file size. Closes GH-14
Applied OpenBSD patches from Nicholas Marriott. Closes GH-12
Lars Nooden originally put these together for OpenBSD. They contain the same information from --help and the README.
With kqueue, a fdev may be in two active kevents.
'==' does work in some implementations though.
The timeouts for poll and epoll are given in milliseconds, which caused busy looping in the event loop for timeouts with less time remaining.
On some systems no extra flags or libs are needed.
The incorrect length caused problems on MacOs X.
There really should be a btter way to do this, but I can't find it. :(