173 Incheckningar (2550d6cb8c7f263f63a68122b69285f8f849dc18)
 

Upphovsman SHA1 Meddelande Datum
  Richard Nyberg 2550d6cb8c Interaction with btpd is now much more like I want it. Previous work 19 år sedan
  Richard Nyberg 1a82f0c154 White space. 19 år sedan
  Richard Nyberg 634df68e31 Add functions find_btpd_dir. 19 år sedan
  Richard Nyberg 8d05b64fa1 Remove unused function canon_path. 19 år sedan
  Richard Nyberg 273294989e Use benc_dget_mema instead of benc_dget_mem + malloc + bcopy. 19 år sedan
  Richard Nyberg b0c4f58f10 Use strtoul to parse length of strings. 19 år sedan
  Richard Nyberg d88c65e982 Added buf_swrite. 19 år sedan
  Richard Nyberg 36a68e4b76 Check for failure to allocate memory. 19 år sedan
  Richard Nyberg af64140b1f Remove som unused code I commited by mistake. Replace integer parse code 19 år sedan
  Richard Nyberg 8fd51e90b3 Added description of stat output. Changed the stat output. 19 år sedan
  Richard Nyberg 01c92051d5 o Changed the benc_ api to make it easier to use. 19 år sedan
  Richard Nyberg 6559fcb9a4 Make the buf api safe to continue to use even if an error has occured. 19 år sedan
  Richard Nyberg 38418fcd2b Add functions read_fully and write_fully. They are simpler alternatives to 19 år sedan
  Richard Nyberg 65f3eb2185 Add a function to look up a torrent by its number. 19 år sedan
  Richard Nyberg 53c3ba32cf Each torrent now gets a number. This number is used to select which torrent 19 år sedan
  Richard Nyberg 886fb651d8 Add function to get tracker error count. Don't look for peers and stuff 19 år sedan
  Richard Nyberg 2528d4ad73 Help text changes. 19 år sedan
  Richard Nyberg c8f9335e6e Torrents can now be deactivated and btpd will wait for all torrents to 19 år sedan
  Richard Nyberg 44165a86d0 o Fixed: cm->active was not set to 0 in cm_stop. 19 år sedan
  Richard Nyberg 76fb776aea Peers we download from are given a weight of two compared to peers we seed to 19 år sedan
  Richard Nyberg 0c71b0ceb1 Added function http_redo, which does a new request for the same url as an 19 år sedan
  Richard Nyberg 9af6e55081 * Better message when trying to start btpd in a driectory where it's already 19 år sedan
  Richard Nyberg e99facbeec Don't clear the bitfield for blocks it's possible we have, even though 19 år sedan
  Richard Nyberg 7068f34a51 * Implemented the full cm_ life cycle. 19 år sedan
  Richard Nyberg 476765a7a7 Added option --prealloc and a directory argument to btpd. Synced the command 19 år sedan
  Richard Nyberg 59bed6ca87 Added vfsync and vfopen. 19 år sedan
  Richard Nyberg b2a877537a White space. 19 år sedan
  Richard Nyberg d324b49aaf Implemented a service thread for operations such as testing piece hashes, 19 år sedan
  Richard Nyberg a3933c0761 Unify the write and read structs. There was no good reason to keep them 19 år sedan
  Richard Nyberg 66d742a48e peer_on_no_reqs was called unsafely in peer_on_choke. It should only be 19 år sedan
  Richard Nyberg cdd5e3fbb1 There should be one level of pointer indirection less for the arguments 19 år sedan
  Richard Nyberg 1c14af0ab4 Add peer_full function. 19 år sedan
  Richard Nyberg 3c0e61e112 A peer needs to be removed from the peer list before being handed to 19 år sedan
  Richard Nyberg 49da7acdd4 Fix conditional I broke in r131. 19 år sedan
  Richard Nyberg 6f09434ea0 Removed code dealing with child processes; btpd doesn't use them anymore. 19 år sedan
  Richard Nyberg 8aed86f7d2 Changed semantics of cancelled http requests. Before they were reported 19 år sedan
  Richard Nyberg 2d21101699 * Move the network related parts of the torrent struct to a sub struct. 19 år sedan
  Richard Nyberg 0aa0975486 Fix compiler warnings. 19 år sedan
  Richard Nyberg 350f8adc2d Rename tp->cp to tp->cm. 19 år sedan
  Richard Nyberg 2e63eaf8ea Rename p->net to p->in and net_state to input_state. Move code to where it 19 år sedan
  Richard Nyberg 5377243d17 Better tracker code. Mostly done but needs a little more work. 19 år sedan
  Richard Nyberg d4082e3a7a Move finished http requests to a queue and post the whole queue at once. 19 år sedan
  Richard Nyberg e8a016d663 OMG! It's a new year already! ;) 19 år sedan
  Richard Nyberg de29f2ea84 Nicer code for the http thread. 19 år sedan
  Richard Nyberg 7f8f5dd03b * Added a method for other threads to execute callbacks in the main thread. 19 år sedan
  Richard Nyberg 74b665efe1 Added BTPDQ_FOREACH_MUTABLE list macro. 19 år sedan
  Richard Nyberg 75e9db3b26 Sort. 19 år sedan
  Richard Nyberg 1eea7650a2 Remove use of the ugly PRI* print macros. 19 år sedan
  Richard Nyberg 49e90df57e o Use the new cm_* content api. 19 år sedan
  Richard Nyberg 56320bce47 New api for managing the content of a torrent. It'll keep track of which 19 år sedan