about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2009-01-26Fix a typo in an error message.Richard Nyberg
2009-01-26Print the result of, and not the address of, getpid().Richard Nyberg
2009-01-26Rethink the tracker client code somewhat.Richard Nyberg
btpd now uses all tiers in parallel, so a torrent with two tiers will essentially be treated by btpd as a torrent with two trackers to send each event to. This is not quite what the multitrackes standard says, but it's much easier to implement reasonable behaviour this way. btpd is going to report the number of good trackers for a torrent instead of the number of errors, but for now just report zero errors.
2009-01-15git clean is a better way to clean the tree.Richard Nyberg
2009-01-14Add IPv6 support.Richard Nyberg
Btpd can now use both ipv4 and ipv6. The new options -4 and -6 toggles use of ip v4 and v6 respectively. They are both used by default. Remove restrictions on the --ip option since the spec allows to be a dns name. Ultimately this option may need to be changed on a per tracker/torrent basis.
2009-01-13Added macros for checking supported compiler flags.Richard Nyberg
2009-01-13Start previously active torrents after log file setup.Richard Nyberg
2009-01-12Test for working snprintf at startup.Richard Nyberg
2009-01-12Let the initial process linger until the daemon is initialized.Richard Nyberg
This enables us to report errors in the btpd init sequence to the shell by non zero exit code. Changed from flock to lockf because of solaris troubles. I may be confused though.
2009-01-12Don't use the bsd err and warn family of functions. Solaris doesn't have them.Richard Nyberg
2009-01-12Provide own implementation of asprintf if it's missing.Richard Nyberg
2009-01-12Lots of autofoo magic for threads and different libs.Richard Nyberg
2009-01-12pid_t is long on some systems. solaris is one.Richard Nyberg
2009-01-12Remove unnecessary include.Richard Nyberg
2009-01-12On solaris bcopy and some other useful functions are declared in strings.h.Richard Nyberg
2009-01-11Use the more compatible -R flag instead of -rpath when linking.Richard Nyberg
2009-01-11Fix for missing AI_ADDRCONFIG.Richard Nyberg
2009-01-11Indicate that btpd has moved past 0.13.Richard Nyberg
2009-01-11Test that the clock is working at start and test for evloop errors.Richard Nyberg
2009-01-11Update build scripts for recent btpd changes. Also use only one makefile.Richard Nyberg
2009-01-11Remove libevent. Btpd no longer uses it.Richard Nyberg
2009-01-11Btpd now uses evloop, it's own event loop, instead of libevent.Richard Nyberg
2009-01-11Add evloop, btpd's new event loop. This will replace libevent.Richard Nyberg
2009-01-11Let btpd remove torrent data by itself instead of calling rm.Richard Nyberg
2009-01-11Make the http client independent of events and use my iobuf.Richard Nyberg
2009-01-11Make iobuf more useful for io and use better names in its api.Richard Nyberg
2009-01-11Add the function memfind. It'll be used by iobuf.Richard Nyberg
2009-01-11Add code to connect to host given by its hostname.Richard Nyberg
2009-01-11Add a thread for performing asynchronous getaddrinfo's.Richard Nyberg
2009-01-11Bring back the old thread callback code.Richard Nyberg
2009-01-11More autotool files to ignore.Richard Nyberg
2008-12-23Tell git to ignore files generated by autotools.Richard Nyberg
2008-12-22Fix type mismatches in a couple of printf statements.Richard Nyberg
2008-12-22Turn off warnings for pointer sign mismatches.Richard Nyberg
2007-07-01The "Host" HTTP header should be placed as early as possible and also includeRichard Nyberg
the port number.
2007-07-01Recognize both the CRLF sequence and single LF characters as line terminators.Richard Nyberg
2007-06-20Add libraries in the correct place.Richard Nyberg
2007-06-20Create the peer id and random seed based on the host name, port andRichard Nyberg
the time of the initialization in seconds and microseconds.
2007-05-23Fix the '--topdir' option for single file torrents without a top directory.Richard Nyberg
Such torrents were saved as 'name/name' instead of 'name'. The option broke in rev253. Patch from borg@uu3.net.
2007-05-21Fix bug in benc_length. benc_first shouldn't be used here since it returnsRichard Nyberg
NULL on empty lists or dictionaries. This could cause crashes. Reported by Robert Jonsson.
2007-05-20Clean up the #include sections in the btpd files. Most common headers andRichard Nyberg
all btpd headers are included through btpd.h.
2007-05-19Added some more info to CHANGES and version information to README. v0.13Richard Nyberg
2007-05-19#include order.Richard Nyberg
2007-05-19Fix problem introduced in r345. A call to http_get could cause theRichard Nyberg
callback to be called before http_get returned.
2007-05-19I had missed a check for tracker errors. When a torrent is stopping it'sRichard Nyberg
supposed to stop if it can't contact the tracker in STOP_ERRORS tries.
2007-05-19Fix from libevent r353.Richard Nyberg
2007-05-19Only keep one block of outgoing data in memory.Richard Nyberg
2007-05-19Don't try to resolve the host if it is already given as an ip address.Richard Nyberg
2007-05-19btpd doesn't need pthreads and curl, and libevent is included. ScratchRichard Nyberg
the dependencies from the README.
2007-05-19Changes for 0.13.Richard Nyberg