145 коммитов (a3933c07619a6f9b12e25f8e7d5c68790dff0f29)
 

Автор SHA1 Сообщение Дата
  Richard Nyberg a3933c0761 Unify the write and read structs. There was no good reason to keep them 19 лет назад
  Richard Nyberg 66d742a48e peer_on_no_reqs was called unsafely in peer_on_choke. It should only be 19 лет назад
  Richard Nyberg cdd5e3fbb1 There should be one level of pointer indirection less for the arguments 19 лет назад
  Richard Nyberg 1c14af0ab4 Add peer_full function. 19 лет назад
  Richard Nyberg 3c0e61e112 A peer needs to be removed from the peer list before being handed to 19 лет назад
  Richard Nyberg 49da7acdd4 Fix conditional I broke in r131. 19 лет назад
  Richard Nyberg 6f09434ea0 Removed code dealing with child processes; btpd doesn't use them anymore. 19 лет назад
  Richard Nyberg 8aed86f7d2 Changed semantics of cancelled http requests. Before they were reported 19 лет назад
  Richard Nyberg 2d21101699 * Move the network related parts of the torrent struct to a sub struct. 19 лет назад
  Richard Nyberg 0aa0975486 Fix compiler warnings. 19 лет назад
  Richard Nyberg 350f8adc2d Rename tp->cp to tp->cm. 19 лет назад
  Richard Nyberg 2e63eaf8ea Rename p->net to p->in and net_state to input_state. Move code to where it 19 лет назад
  Richard Nyberg 5377243d17 Better tracker code. Mostly done but needs a little more work. 19 лет назад
  Richard Nyberg d4082e3a7a Move finished http requests to a queue and post the whole queue at once. 19 лет назад
  Richard Nyberg e8a016d663 OMG! It's a new year already! ;) 19 лет назад
  Richard Nyberg de29f2ea84 Nicer code for the http thread. 19 лет назад
  Richard Nyberg 7f8f5dd03b * Added a method for other threads to execute callbacks in the main thread. 19 лет назад
  Richard Nyberg 74b665efe1 Added BTPDQ_FOREACH_MUTABLE list macro. 19 лет назад
  Richard Nyberg 75e9db3b26 Sort. 19 лет назад
  Richard Nyberg 1eea7650a2 Remove use of the ugly PRI* print macros. 19 лет назад
  Richard Nyberg 49e90df57e o Use the new cm_* content api. 19 лет назад
  Richard Nyberg 56320bce47 New api for managing the content of a torrent. It'll keep track of which 19 лет назад
  Richard Nyberg 0cbe077098 Don't write the rates to the log anymore. 19 лет назад
  Richard Nyberg 3f8dd2ecd3 Fixed a broken loop. I must have forgotten that the loop variable was 19 лет назад
  Richard Nyberg 2d2f8b0350 o Removed an unused function. 19 лет назад
  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 лет назад