259 Revize (326dc406e7f6b84d1a69d8556282306e1094c878)
 

Autor SHA1 Zpráva Datum
  Richard Nyberg 53c3ba32cf Each torrent now gets a number. This number is used to select which torrent před 18 roky
  Richard Nyberg 886fb651d8 Add function to get tracker error count. Don't look for peers and stuff před 18 roky
  Richard Nyberg 2528d4ad73 Help text changes. před 18 roky
  Richard Nyberg c8f9335e6e Torrents can now be deactivated and btpd will wait for all torrents to před 18 roky
  Richard Nyberg 44165a86d0 o Fixed: cm->active was not set to 0 in cm_stop. před 18 roky
  Richard Nyberg 76fb776aea Peers we download from are given a weight of two compared to peers we seed to před 18 roky
  Richard Nyberg 0c71b0ceb1 Added function http_redo, which does a new request for the same url as an před 18 roky
  Richard Nyberg 9af6e55081 * Better message when trying to start btpd in a driectory where it's already před 18 roky
  Richard Nyberg e99facbeec Don't clear the bitfield for blocks it's possible we have, even though před 18 roky
  Richard Nyberg 7068f34a51 * Implemented the full cm_ life cycle. před 18 roky
  Richard Nyberg 476765a7a7 Added option --prealloc and a directory argument to btpd. Synced the command před 18 roky
  Richard Nyberg 59bed6ca87 Added vfsync and vfopen. před 18 roky
  Richard Nyberg b2a877537a White space. před 18 roky
  Richard Nyberg d324b49aaf Implemented a service thread for operations such as testing piece hashes, před 18 roky
  Richard Nyberg a3933c0761 Unify the write and read structs. There was no good reason to keep them před 18 roky
  Richard Nyberg 66d742a48e peer_on_no_reqs was called unsafely in peer_on_choke. It should only be před 18 roky
  Richard Nyberg cdd5e3fbb1 There should be one level of pointer indirection less for the arguments před 18 roky
  Richard Nyberg 1c14af0ab4 Add peer_full function. před 18 roky
  Richard Nyberg 3c0e61e112 A peer needs to be removed from the peer list before being handed to před 18 roky
  Richard Nyberg 49da7acdd4 Fix conditional I broke in r131. před 18 roky
  Richard Nyberg 6f09434ea0 Removed code dealing with child processes; btpd doesn't use them anymore. před 19 roky
  Richard Nyberg 8aed86f7d2 Changed semantics of cancelled http requests. Before they were reported před 19 roky
  Richard Nyberg 2d21101699 * Move the network related parts of the torrent struct to a sub struct. před 19 roky
  Richard Nyberg 0aa0975486 Fix compiler warnings. před 19 roky
  Richard Nyberg 350f8adc2d Rename tp->cp to tp->cm. před 19 roky
  Richard Nyberg 2e63eaf8ea Rename p->net to p->in and net_state to input_state. Move code to where it před 19 roky
  Richard Nyberg 5377243d17 Better tracker code. Mostly done but needs a little more work. před 19 roky
  Richard Nyberg d4082e3a7a Move finished http requests to a queue and post the whole queue at once. před 19 roky
  Richard Nyberg e8a016d663 OMG! It's a new year already! ;) před 19 roky
  Richard Nyberg de29f2ea84 Nicer code for the http thread. před 19 roky
  Richard Nyberg 7f8f5dd03b * Added a method for other threads to execute callbacks in the main thread. před 19 roky
  Richard Nyberg 74b665efe1 Added BTPDQ_FOREACH_MUTABLE list macro. před 19 roky
  Richard Nyberg 75e9db3b26 Sort. před 19 roky
  Richard Nyberg 1eea7650a2 Remove use of the ugly PRI* print macros. před 19 roky
  Richard Nyberg 49e90df57e o Use the new cm_* content api. před 19 roky
  Richard Nyberg 56320bce47 New api for managing the content of a torrent. It'll keep track of which před 19 roky
  Richard Nyberg 0cbe077098 Don't write the rates to the log anymore. před 19 roky
  Richard Nyberg 3f8dd2ecd3 Fixed a broken loop. I must have forgotten that the loop variable was před 19 roky
  Richard Nyberg 2d2f8b0350 o Removed an unused function. před 19 roky
  Richard Nyberg 24650e5d0e First stab at a choke algorithm for all peers. In previous versions choking před 19 roky
  Richard Nyberg b2bf61dbf7 Add and use rand_between. před 19 roky
  Richard Nyberg c347106fc1 * Some code shuffle and removal of dead code. před 19 roky
  Richard Nyberg 00fc2ce31e Rates should be unsigned long. Compute total, torrent and peer rates. před 19 roky
  Richard Nyberg cbc1a81d06 dl_on_lost_peer must remove the peer from the list. This was accidentally před 19 roky
  Richard Nyberg 7a5d04eed4 Fix an unsafe loop. před 19 roky
  Richard Nyberg c285b374f8 The mega whitespace patch. před 19 roky
  Richard Nyberg 9bfcc80cdd * Added net_(add|del)_torrent. net_add_torrent enables p2p for a torrent před 19 roky
  Richard Nyberg 005ce9d2c2 * Removed the heartbeat and btpd_seconds. Note that this breaks the tracker. před 19 roky
  Richard Nyberg a01ffd8423 * Get rid of net_bw_hz and run the bw stuff at one hz. před 19 roky
  Richard Nyberg a93803cdb2 More name changes from "cm_" to more appropriate names. před 19 roky