318 Commits (91f85c222be7ef247c8f2e18815eb23c336ed081)
 

Autor SHA1 Mensaje Fecha
  Richard Nyberg 91f85c222b Update to libevent from patches-1.3 r335. hace 17 años
  Richard Nyberg 372cec7b53 Some clean up of the values sent for tget answers. Send values that makes hace 17 años
  Richard Nyberg 02733b16ec Get rid of tp->relpath. hace 17 años
  Richard Nyberg e117d81cf3 Only trigger error handling if an error actually occured. :P hace 17 años
  Richard Nyberg 8d7898d728 o Make errors when reading or writing torrent data non fatal. Instead of hace 17 años
  Richard Nyberg d00d1fc36a Call peer_on_no_reqs at the appropriate time. hace 17 años
  Richard Nyberg 12c3181b65 Add an option to specify the ip the tracker should distribute for this peer. hace 18 años
  Richard Nyberg eeb9d252e1 Fix bug in get_op. Increase the tracker error counter, and reduce the timeout hace 18 años
  Richard Nyberg 68c4f99b29 Fix evbuffer_add_vprintf. Patch taken from <http://monkeymail.org/archives/libevent-users/2006-October/000299.html>. hace 18 años
  Richard Nyberg 6fbf0b520f Fix return value from evdns_resolv_conf_parse and initialization of the hace 18 años
  Richard Nyberg 393ee77bbc Update COPYRIGHT to match the current copyrights and licenses in the btpd hace 18 años
  Richard Nyberg 352ed70600 Update the build scripts for the following events: hace 18 años
  Richard Nyberg 95371d8453 Remove files not needed by btpd. Make the build scripts more suitable for hace 18 años
  Richard Nyberg ba4efecb6d Bring in fixes from libevent trunk. hace 18 años
  Richard Nyberg 5ccf414cbf Include libevent 1.2 in btpd. hace 18 años
  Richard Nyberg 568d116335 Remove a couple of forgotten debug printfs. hace 18 años
  Richard Nyberg 8c5200b568 Instead of immediately reading all data a peer requests into outgoing net hace 18 años
  Richard Nyberg acc03a93e2 Must call next_url if the current url cannot be requested. hace 18 años
  Richard Nyberg 3bb3d2c074 Initialize the interval variable even when we don't read its value from the hace 18 años
  Richard Nyberg db7f22db73 Avoid unnecessary operations on tracker stop. Use STOP_ERRORS constant hace 18 años
  Richard Nyberg ebef96d5f8 Missed this file in the last commit. Simplify some interfaces by polling hace 18 años
  Richard Nyberg 95e83bb247 Make the content code unthreaded and remove the no longer needed inter hace 18 años
  Richard Nyberg 00e242ce2b Add bts_filename which gets the current filename from a bt_stream. hace 18 años
  Richard Nyberg abe4001938 Add initialization of evdns. hace 18 años
  Richard Nyberg fb64d693f1 Now that btpd doesn't use select, we don't need to limit fd's to FD_SETSIZE hace 18 años
  Richard Nyberg 4466a515e7 Remove calls to the already removed old http code. hace 18 años
  Richard Nyberg 1d7b396fc7 Some cleanup. Use names for some numeric constants. hace 18 años
  Richard Nyberg 03c3b7ec49 Split the tracker code into a generic part and a http specific part. This hace 18 años
  Richard Nyberg 80dcfecbe5 Rename callback type, add timeouts and and allow any http version in the hace 18 años
  Richard Nyberg f939819e28 No parenthesis needed around a string value. hace 18 años
  Richard Nyberg d5700c2f20 Add max(x, y) macro. hace 18 años
  Richard Nyberg 1b7bb76fb7 Add a simple http client. Since it uses libevent it's a better fit for btpd hace 18 años
  Richard Nyberg 4f1d44297a Don't really know why I did setlocale. Get rid of it since I want the CTYPE hace 18 años
  Richard Nyberg 798a7f0c1b Random changes :) hace 18 años
  Richard Nyberg e0c4fea13e Rewrote parts of the README and updated it with information on the new stuff hace 18 años
  Richard Nyberg 0c01e277cf Help text format change. hace 18 años
  Richard Nyberg 1a17b22bb3 Don't call mkdirs unnecessarily. Note that this code is only needed because hace 18 años
  Richard Nyberg cd8a3d5ecd Make mkdirs behave more like 'mkdir -p' and make btpd create the directory hace 18 años
  Richard Nyberg ff3f222885 OpenBSD doesn't have stdint.h. It'd be great if they would implement basic c99 hace 18 años
  Richard Nyberg f20c481b11 There's no need to fsync here, so remove the call. This should improve hace 18 años
  Richard Nyberg 110b1d7e22 Always update the tlib info when a torrent is stopped. Some code shuffle. hace 18 años
  Richard Nyberg 29495ab53b Add and use the function make_abs_path. realpath didn't fit my needs. hace 18 años
  Richard Nyberg 25788505fa Forgot to free some memory. Remove some broken code; it wasn't needed hace 18 años
  Richard Nyberg b306439636 Update for the read_whole_file -> read_file change. hace 18 años
  Richard Nyberg b0b50e29b6 Create all files of a torrent at startup. hace 18 años
  Richard Nyberg 0b9d19de09 Add missing include. hace 18 años
  Richard Nyberg 11f7e1ce1f Safer way to initialize the address. hace 18 años
  Richard Nyberg 3fb4e5a894 Simplify read_whole_file and rename to read_file. hace 18 años
  Richard Nyberg 51e084f144 Document changes for 0.12. hace 18 años
  Richard Nyberg 535991f085 Bump version to 0.12. hace 18 años