| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2007-02-24 | Get rid of tp->relpath. | Richard Nyberg | |
| 2007-02-24 | Only trigger error handling if an error actually occured. :P | Richard Nyberg | |
| 2007-02-24 | o Make errors when reading or writing torrent data non fatal. Instead of | Richard Nyberg | |
| killing btpd, only the troublesome torrent will be stopped. o Some code shuffle. | |||
| 2007-01-30 | Call peer_on_no_reqs at the appropriate time. | Richard Nyberg | |
| 2006-11-15 | Add an option to specify the ip the tracker should distribute for this peer. | Richard Nyberg | |
| 2006-11-15 | Fix bug in get_op. Increase the tracker error counter, and reduce the timeout | Richard 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-08 | Fix evbuffer_add_vprintf. Patch taken from ↵ | Richard Nyberg | |
| <http://monkeymail.org/archives/libevent-users/2006-October/000299.html>. | |||
| 2006-11-08 | Fix return value from evdns_resolv_conf_parse and initialization of the | Richard Nyberg | |
| dns transaction id. | |||
| 2006-11-08 | Update COPYRIGHT to match the current copyrights and licenses in the btpd | Richard Nyberg | |
| package. | |||
| 2006-11-08 | Update the build scripts for the following events: | Richard Nyberg | |
| o Some new source files. o Inclusion of libevent. o Removal of curl and pthreads dependencies. | |||
| 2006-11-08 | Remove files not needed by btpd. Make the build scripts more suitable for | Richard Nyberg | |
| btpd. | |||
| 2006-11-07 | Bring in fixes from libevent trunk. | Richard Nyberg | |
| 2006-11-07 | Include libevent 1.2 in btpd. | Richard Nyberg | |
| 2006-11-06 | Remove a couple of forgotten debug printfs. | Richard Nyberg | |
| 2006-11-06 | Instead of immediately reading all data a peer requests into outgoing net | Richard Nyberg | |
| buffers, we put placeholder buffers on the list and fill them as they are needed. At most 4 blocks will be filled per peer we upload to. This number should probably be made tunable or be based on SO_SNDBUF or something. Anyway, this should lower btpd's memory usage if one has many uploads. | |||
| 2006-11-04 | Must call next_url if the current url cannot be requested. | Richard Nyberg | |
| 2006-11-03 | Initialize the interval variable even when we don't read its value from the | Richard Nyberg | |
| tracker reply. | |||
| 2006-11-03 | Avoid unnecessary operations on tracker stop. Use STOP_ERRORS constant | Richard Nyberg | |
| for the number of tracker errors to tolerate when we're stopping. | |||
| 2006-11-03 | Missed this file in the last commit. Simplify some interfaces by polling | Richard Nyberg | |
| for state changes when appropriate instead of being called directly at any time. | |||
| 2006-11-03 | Make the content code unthreaded and remove the no longer needed inter | Richard Nyberg | |
| thread messaging code. Also simplify some interfaces by polling for state changes when appropriate instead of being called directly at any time. | |||
| 2006-11-02 | Add bts_filename which gets the current filename from a bt_stream. | Richard Nyberg | |
| 2006-10-31 | Add initialization of evdns. | Richard Nyberg | |
| 2006-10-31 | Now that btpd doesn't use select, we don't need to limit fd's to FD_SETSIZE | Richard Nyberg | |
| unless libevent uses the select method. | |||
| 2006-10-31 | Remove calls to the already removed old http code. | Richard Nyberg | |
| 2006-10-31 | Some cleanup. Use names for some numeric constants. | Richard Nyberg | |
| 2006-10-31 | Split the tracker code into a generic part and a http specific part. This | Richard Nyberg | |
| allows me to add code for other types of trackers. Remove the curl interface glue, since I use my own http client now. The curl code was my main reason for using threads, so I'm a large step closer to make btpd unthreaded again. | |||
| 2006-10-31 | Rename callback type, add timeouts and and allow any http version in the | Richard Nyberg | |
| reply. | |||
| 2006-10-31 | No parenthesis needed around a string value. | Richard Nyberg | |
| 2006-10-31 | Add max(x, y) macro. | Richard Nyberg | |
| 2006-10-29 | Add a simple http client. Since it uses libevent it's a better fit for btpd | Richard Nyberg | |
| than curl. | |||
| 2006-10-26 | Don't really know why I did setlocale. Get rid of it since I want the CTYPE | Richard Nyberg | |
| to be standard. | |||
| 2006-10-16 | Random changes :) | Richard Nyberg | |
| 2006-10-16 | Rewrote parts of the README and updated it with information on the new stuff | Richard Nyberg | |
| in 0.12. | |||
| 2006-10-16 | Help text format change. | Richard Nyberg | |
| 2006-10-15 | Don't call mkdirs unnecessarily. Note that this code is only needed because | Richard Nyberg | |
| the content code shuts down btpd on errors. When that is fixed this code can be removed. | |||
| 2006-10-15 | Make mkdirs behave more like 'mkdir -p' and make btpd create the directory | Richard Nyberg | |
| hierarchy to a specified torrent content directory if neccessary. | |||
| 2006-10-15 | OpenBSD doesn't have stdint.h. It'd be great if they would implement basic c99 | Richard Nyberg | |
| library support some day... | |||
| 2006-10-15 | There's no need to fsync here, so remove the call. This should improve | Richard Nyberg | |
| write performance. | |||
| 2006-10-15 | Always update the tlib info when a torrent is stopped. Some code shuffle. | Richard Nyberg | |
| 2006-10-14 | Add and use the function make_abs_path. realpath didn't fit my needs. | Richard Nyberg | |
| make_abs_path doesn't need the directories to actually exist in the file system. | |||
| 2006-10-14 | Forgot to free some memory. Remove some broken code; it wasn't needed | Richard Nyberg | |
| yet anyway. glibc doesn't have the d_namlen field in struct dirent, so we'll have to use strlen instead. | |||
| 2006-10-14 | Update for the read_whole_file -> read_file change. | Richard Nyberg | |
| 2006-10-14 | Create all files of a torrent at startup. | Richard Nyberg | |
| 2006-10-14 | Add missing include. | Richard Nyberg | |
| 2006-10-14 | Safer way to initialize the address. | Richard Nyberg | |
| 2006-10-14 | Simplify read_whole_file and rename to read_file. | Richard Nyberg | |
| 2006-10-12 | Document changes for 0.12. | Richard Nyberg | |
| 2006-10-12 | Bump version to 0.12. | Richard Nyberg | |
| 2006-10-12 | Allow empty files in torrents. Create them in stat_and_adjust and let the | Richard Nyberg | |
| stream abstraction skip past them. | |||
| 2006-10-12 | Add missing includes. | Richard Nyberg | |