| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2010-07-18 | Applied patches from OpenBSD to fix addrinfo and HTTP. | Marq Schneider | |
| Applied OpenBSD patches from Nicholas Marriott. Closes GH-12 | |||
| 2009-02-06 | Hashtable tweaks. | Richard Nyberg | |
| o Added ability to set the ratio items:buckets. o One can remove items while iterating. o _htbl_tov now allocates the result array, _htbl_fillv acts as the old _htbl_tov did. | |||
| 2009-01-26 | Show tracker counts in btcli stat. | Richard Nyberg | |
| The counts are for "reachable" trackers, ie. trackers that haven't timed out or been disabled for one reason or other. | |||
| 2009-01-26 | Improve the torrent stop and btpd shutdown sequences. | Richard Nyberg | |
| Torrents are now considered stopped and may be restarted even if the stop event haven't been sent the trackers yet. The same holds for the del and add commands. A btpd process in shutdown mode that only have stopped torrents, but is still sending the stop event to trackers, will release resources that would block a new btpd to start. It will the silently exit when it's finished with the trackers. This also makes the timeout parameter for shutdown unnecessary. | |||
| 2009-01-12 | Provide own implementation of asprintf if it's missing. | Richard Nyberg | |
| 2009-01-12 | Remove unnecessary include. | Richard Nyberg | |
| 2009-01-12 | On solaris bcopy and some other useful functions are declared in strings.h. | Richard Nyberg | |
| 2009-01-11 | Update build scripts for recent btpd changes. Also use only one makefile. | Richard Nyberg | |
| 2009-01-11 | Make the http client independent of events and use my iobuf. | Richard Nyberg | |
| 2009-01-11 | Make iobuf more useful for io and use better names in its api. | Richard Nyberg | |
| 2009-01-11 | Add the function memfind. It'll be used by iobuf. | Richard Nyberg | |
| 2007-07-01 | The "Host" HTTP header should be placed as early as possible and also include | Richard Nyberg | |
| the port number. | |||
| 2007-07-01 | Recognize both the CRLF sequence and single LF characters as line terminators. | Richard Nyberg | |
| 2007-05-21 | Fix bug in benc_length. benc_first shouldn't be used here since it returns | Richard Nyberg | |
| NULL on empty lists or dictionaries. This could cause crashes. Reported by Robert Jonsson. | |||
| 2007-05-19 | Fix problem introduced in r345. A call to http_get could cause the | Richard Nyberg | |
| callback to be called before http_get returned. | |||
| 2007-05-19 | Don't try to resolve the host if it is already given as an ip address. | Richard Nyberg | |
| 2007-05-18 | o Rename net_(write|read)32 to (enc|dec)_be32. Add similar functions for 64 | Richard 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. | |||
| 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-06 | Remove a couple of forgotten debug printfs. | Richard Nyberg | |
| 2006-11-02 | Add bts_filename which gets the current filename from a bt_stream. | Richard Nyberg | |
| 2006-10-31 | Some cleanup. Use names for some numeric constants. | Richard Nyberg | |
| 2006-10-31 | Rename callback type, add timeouts and and allow any http version in the | Richard Nyberg | |
| reply. | |||
| 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-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-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 | Update for the read_whole_file -> read_file change. | Richard Nyberg | |
| 2006-10-14 | Simplify read_whole_file and rename to read_file. | 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 | |
| 2006-10-07 | Add value queries for total amount up- and downloaded. Use the cached values | Richard Nyberg | |
| for torrent size and amount gotten when the torrent isn't active. | |||
| 2006-10-06 | Add command to stop all active torrents. The command is sent by | Richard Nyberg | |
| 'btcli stop -a'. | |||
| 2006-09-17 | Whitespace. | Richard Nyberg | |
| 2006-09-17 | Add function benc_strcmp. | Richard Nyberg | |
| 2006-09-17 | Better message for ENOTENT. | Richard Nyberg | |
| 2006-09-13 | Some changes to the iobuf interface. Remove a debug assert from btpd_if.c and | Richard Nyberg | |
| make it act properly on iobuf errors. | |||
| 2006-09-12 | Hook the new files to the build. | Richard Nyberg | |
| 2006-09-12 | Pointers to different things need not be represented in the same way. | Richard Nyberg | |
| Use the fact that we only can store structs in the table to make the complex pointer use safe. Unfortunately the equal and hash functions need to take void * arguments. | |||
| 2006-09-12 | This file contains the definitions of the constants used in the btpd | Richard Nyberg | |
| interface. | |||
| 2006-09-12 | Moved from ../cli. | Richard Nyberg | |
| 2006-09-12 | Remove unused function bts_hashes. | Richard Nyberg | |
| 2006-09-12 | There is no spoon^H^H^H^Htruct metainfo. Use struct mi_file instead. | Richard Nyberg | |
| 2006-09-12 | The metainfo code provided a load -> test -> struct metainfo interface. | Richard Nyberg | |
| The metainfo struct has been replaced by functions for qeurying specific items from the torrent. In addition, the tests of the torrent data has been improved. | |||
| 2006-09-12 | Moved from ../btpd/queue.h | Richard Nyberg | |
| 2006-09-12 | Add functions for conversions between binary data and ascii hex. | Richard Nyberg | |
| Add function for reading a whole file. Enable printf format checking for some functions. | |||
| 2006-09-12 | Add a hashtable implementation. | Richard Nyberg | |
| 2006-09-12 | Enable printf format type checking for buf_print. | Richard Nyberg | |
| 2006-09-12 | Add function benc_strlen. | Richard Nyberg | |