about summary refs log tree commit diff
AgeCommit message (Collapse)Author
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
2007-05-19Update the info files regularly. Before they were only updated when a torrentRichard Nyberg
stopped.
2007-05-19Update for 2007.Richard Nyberg
2007-05-18Set torrent deletion flag as parameter to torrent_stop. Update torrent infoRichard Nyberg
in torrent_stop rather than torrent_kill. The data doesn't change but there may be some time between the two events.
2007-05-18o Rename net_(write|read)32 to (enc|dec)_be32. Add similar functions for 64Richard Nyberg
bits as well. Implement them in libmisc instead of in btpd. o Change resume file format and related APIs. The resume files are now memory mapped.
2007-05-18Some code for udp trackers. Not done yet, so it isn't hooked to the build.Richard Nyberg
2007-05-18Update to libevent-1.3b.Richard Nyberg
2007-02-25Some better logging.Richard Nyberg
2007-02-25Update to libevent from patches-1.3 r335.Richard Nyberg
2007-02-24Some clean up of the values sent for tget answers. Send values that makesRichard Nyberg
sense instead of errors. Fix wrong type for IPC_TVAL_CSIZE, reported by Arnaud Bergeron.
2007-02-24Get rid of tp->relpath.Richard Nyberg
2007-02-24Only trigger error handling if an error actually occured. :PRichard Nyberg
2007-02-24o Make errors when reading or writing torrent data non fatal. Instead ofRichard Nyberg
killing btpd, only the troublesome torrent will be stopped. o Some code shuffle.
2007-01-30Call peer_on_no_reqs at the appropriate time.Richard Nyberg
2006-11-15Add an option to specify the ip the tracker should distribute for this peer.Richard Nyberg
2006-11-15Fix bug in get_op. Increase the tracker error counter, and reduce the timeoutRichard Nyberg
for trying the next url, for url's that we can't use. The timeout is in this case just there to keep btpd from busy looping on a bad url.
2006-11-08Fix evbuffer_add_vprintf. Patch taken from ↵Richard Nyberg
<http://monkeymail.org/archives/libevent-users/2006-October/000299.html>.
2006-11-08Fix return value from evdns_resolv_conf_parse and initialization of theRichard Nyberg
dns transaction id.