130 Révisions (de29f2ea84fc8995b97a4cbe67c8a4368bdd47df)
 

Auteur SHA1 Message Date
  Richard Nyberg de29f2ea84 Nicer code for the http thread. il y a 19 ans
  Richard Nyberg 7f8f5dd03b * Added a method for other threads to execute callbacks in the main thread. il y a 19 ans
  Richard Nyberg 74b665efe1 Added BTPDQ_FOREACH_MUTABLE list macro. il y a 19 ans
  Richard Nyberg 75e9db3b26 Sort. il y a 19 ans
  Richard Nyberg 1eea7650a2 Remove use of the ugly PRI* print macros. il y a 19 ans
  Richard Nyberg 49e90df57e o Use the new cm_* content api. il y a 19 ans
  Richard Nyberg 56320bce47 New api for managing the content of a torrent. It'll keep track of which il y a 19 ans
  Richard Nyberg 0cbe077098 Don't write the rates to the log anymore. il y a 19 ans
  Richard Nyberg 3f8dd2ecd3 Fixed a broken loop. I must have forgotten that the loop variable was il y a 19 ans
  Richard Nyberg 2d2f8b0350 o Removed an unused function. il y a 19 ans
  Richard Nyberg 24650e5d0e First stab at a choke algorithm for all peers. In previous versions choking il y a 19 ans
  Richard Nyberg b2bf61dbf7 Add and use rand_between. il y a 19 ans
  Richard Nyberg c347106fc1 * Some code shuffle and removal of dead code. il y a 19 ans
  Richard Nyberg 00fc2ce31e Rates should be unsigned long. Compute total, torrent and peer rates. il y a 19 ans
  Richard Nyberg cbc1a81d06 dl_on_lost_peer must remove the peer from the list. This was accidentally il y a 19 ans
  Richard Nyberg 7a5d04eed4 Fix an unsafe loop. il y a 19 ans
  Richard Nyberg c285b374f8 The mega whitespace patch. il y a 19 ans
  Richard Nyberg 9bfcc80cdd * Added net_(add|del)_torrent. net_add_torrent enables p2p for a torrent il y a 19 ans
  Richard Nyberg 005ce9d2c2 * Removed the heartbeat and btpd_seconds. Note that this breaks the tracker. il y a 19 ans
  Richard Nyberg a01ffd8423 * Get rid of net_bw_hz and run the bw stuff at one hz. il y a 19 ans
  Richard Nyberg a93803cdb2 More name changes from "cm_" to more appropriate names. il y a 19 ans
  Richard Nyberg f14c6c237e Rename the list of torrents. il y a 19 ans
  Richard Nyberg db4e9b869d This is very much a intermediate commit. il y a 19 ans
  Richard Nyberg 3f6d7576a5 Use a flag (PF_DO_UNWANT) to indicate that we should send an uninterest il y a 19 ans
  Richard Nyberg c46a6b4998 Just bump version number. il y a 19 ans
  Richard Nyberg 71b986e549 Step one of many to make the sub systems more modular. This commit gets il y a 19 ans
  Richard Nyberg 8033ec33a1 Set version to 0.7. Update CHANGES. il y a 19 ans
  Richard Nyberg e025c4743a Add a new net state to get the index and begin fields from piece messages il y a 19 ans
  Richard Nyberg 0cae0e478d Have a peer event for keep alives too. Its only function is to log atm. il y a 19 ans
  Richard Nyberg e5cd773d85 Wait until we don't have any unanswered requests on a peer before il y a 19 ans
  Richard Nyberg 87f94f9d5f Log keep alives. il y a 19 ans
  Richard Nyberg a263d2f9f6 Accept pieces even if they arrive in a different order than the il y a 19 ans
  Richard Nyberg 74c5b19492 Logging. il y a 19 ans
  Richard Nyberg 93053ce34a Remove unsent requests from the write queue when we receive a choke. il y a 19 ans
  Richard Nyberg a8817eee1a Enable all logging if DEBUG is defined. il y a 19 ans
  Richard Nyberg 89b0b8b359 More logging: discarded pieces and peer_id. il y a 19 ans
  Richard Nyberg 28fcbed3c5 #include <limits.h> to be sure to get IOV_MAX. il y a 19 ans
  Richard Nyberg 2dc98c39b6 Fix two bugs. Add some logging. il y a 19 ans
  Richard Nyberg e982934f6b Remove unused constants. il y a 19 ans
  Richard Nyberg 80214ff0fb Code shuffle. il y a 19 ans
  Richard Nyberg 9ba7dc69fc Put the net state related data in its own sub struct. il y a 19 ans
  Richard Nyberg 2bc4a5d83a Constify some functions. il y a 19 ans
  Richard Nyberg 062d08cb60 net_state should return ssize_t not int. il y a 19 ans
  Richard Nyberg f963072983 Better method of reading data from peers. btpd could send data to peers il y a 19 ans
  Richard Nyberg 32a88ff5d8 Rewrite of the code for receiving data from peers. il y a 19 ans
  Richard Nyberg d5bf714f1d More logging. il y a 19 ans
  Richard Nyberg 777c7e641d Changes for 0.6. il y a 19 ans
  Richard Nyberg faad18e368 In the transition to end game it's likely that we'll send an uniterest il y a 19 ans
  Richard Nyberg aa1fe4b2dd Send a new request to a peer after sending cancel. il y a 19 ans
  Richard Nyberg 6bf02797d7 x il y a 19 ans