120 Ревизии (24650e5d0ea682cebc510d8d461e0168b90c46f4)
 

Автор SHA1 Съобщение Дата
  Richard Nyberg 24650e5d0e First stab at a choke algorithm for all peers. In previous versions choking преди 19 години
  Richard Nyberg b2bf61dbf7 Add and use rand_between. преди 19 години
  Richard Nyberg c347106fc1 * Some code shuffle and removal of dead code. преди 19 години
  Richard Nyberg 00fc2ce31e Rates should be unsigned long. Compute total, torrent and peer rates. преди 19 години
  Richard Nyberg cbc1a81d06 dl_on_lost_peer must remove the peer from the list. This was accidentally преди 19 години
  Richard Nyberg 7a5d04eed4 Fix an unsafe loop. преди 19 години
  Richard Nyberg c285b374f8 The mega whitespace patch. преди 19 години
  Richard Nyberg 9bfcc80cdd * Added net_(add|del)_torrent. net_add_torrent enables p2p for a torrent преди 19 години
  Richard Nyberg 005ce9d2c2 * Removed the heartbeat and btpd_seconds. Note that this breaks the tracker. преди 19 години
  Richard Nyberg a01ffd8423 * Get rid of net_bw_hz and run the bw stuff at one hz. преди 19 години
  Richard Nyberg a93803cdb2 More name changes from "cm_" to more appropriate names. преди 19 години
  Richard Nyberg f14c6c237e Rename the list of torrents. преди 19 години
  Richard Nyberg db4e9b869d This is very much a intermediate commit. преди 19 години
  Richard Nyberg 3f6d7576a5 Use a flag (PF_DO_UNWANT) to indicate that we should send an uninterest преди 19 години
  Richard Nyberg c46a6b4998 Just bump version number. преди 19 години
  Richard Nyberg 71b986e549 Step one of many to make the sub systems more modular. This commit gets преди 19 години
  Richard Nyberg 8033ec33a1 Set version to 0.7. Update CHANGES. преди 19 години
  Richard Nyberg e025c4743a Add a new net state to get the index and begin fields from piece messages преди 19 години
  Richard Nyberg 0cae0e478d Have a peer event for keep alives too. Its only function is to log atm. преди 19 години
  Richard Nyberg e5cd773d85 Wait until we don't have any unanswered requests on a peer before преди 19 години
  Richard Nyberg 87f94f9d5f Log keep alives. преди 19 години
  Richard Nyberg a263d2f9f6 Accept pieces even if they arrive in a different order than the преди 19 години
  Richard Nyberg 74c5b19492 Logging. преди 19 години
  Richard Nyberg 93053ce34a Remove unsent requests from the write queue when we receive a choke. преди 19 години
  Richard Nyberg a8817eee1a Enable all logging if DEBUG is defined. преди 19 години
  Richard Nyberg 89b0b8b359 More logging: discarded pieces and peer_id. преди 19 години
  Richard Nyberg 28fcbed3c5 #include <limits.h> to be sure to get IOV_MAX. преди 19 години
  Richard Nyberg 2dc98c39b6 Fix two bugs. Add some logging. преди 19 години
  Richard Nyberg e982934f6b Remove unused constants. преди 19 години
  Richard Nyberg 80214ff0fb Code shuffle. преди 19 години
  Richard Nyberg 9ba7dc69fc Put the net state related data in its own sub struct. преди 19 години
  Richard Nyberg 2bc4a5d83a Constify some functions. преди 19 години
  Richard Nyberg 062d08cb60 net_state should return ssize_t not int. преди 19 години
  Richard Nyberg f963072983 Better method of reading data from peers. btpd could send data to peers преди 19 години
  Richard Nyberg 32a88ff5d8 Rewrite of the code for receiving data from peers. преди 19 години
  Richard Nyberg d5bf714f1d More logging. преди 19 години
  Richard Nyberg 777c7e641d Changes for 0.6. преди 19 години
  Richard Nyberg faad18e368 In the transition to end game it's likely that we'll send an uniterest преди 19 години
  Richard Nyberg aa1fe4b2dd Send a new request to a peer after sending cancel. преди 19 години
  Richard Nyberg 6bf02797d7 x преди 19 години
  Richard Nyberg 2123189ca4 Bump version to 0.6. преди 19 години
  Richard Nyberg f31e2d8b89 * Allocate request messages on piece creation. The request objects can преди 19 години
  Richard Nyberg d8720e889c Use the piece destructor. преди 19 години
  Richard Nyberg dc45054fe8 Add some macros. преди 19 години
  Richard Nyberg a67eaf47cb Simplify the autocrap somewhat. Always include the #defines needed преди 19 години
  Richard Nyberg 08dcc6b892 Remove a bad assert. The test can be true during normal operation. преди 19 години
  Richard Nyberg eaf95339c7 Set an upper limit on how many piece messages to queue for преди 19 години
  Richard Nyberg fcbec726e5 Only allocate one have message for all peers, instead of one per peer. преди 19 години
  Richard Nyberg 2acdcff5a6 * Rearrange some code. Mostly from net to net_buf and peer. преди 19 години
  Richard Nyberg e485377f95 The fix for bitfield in r59 wasn't quite correct. Instead of преди 19 години