190 Révisions (cd1164ef0227c57b16771c84ffc2abbdfbc966f6)
 

Auteur SHA1 Message Date
  Richard Nyberg cd1164ef02 Be careful not to stop the sub struct if they haven't been started. Also il y a 19 ans
  Richard Nyberg 9decd35436 Oops! Forgot to free some memory. il y a 19 ans
  Richard Nyberg eef8a3a837 Call realpath after creating the dir. At least on linux the call to realpath il y a 19 ans
  Richard Nyberg c865aa9254 Use c99 types conservatively to compile on OpenBSD. Also convert to or from il y a 19 ans
  Richard Nyberg 9732ed1981 Glibc needs sys/file.h for flock. il y a 19 ans
  Richard Nyberg b43809ba55 Mostly name changes. Add a missing include. Changed the torrent status il y a 19 ans
  Richard Nyberg bf75d6af1c Glibc doesn't support locking in open. Use flock after open instead. il y a 19 ans
  Richard Nyberg 7dedb28137 Put the ACX_PTHREAD macro from the Autoconf macro archive in acinclude.m4. il y a 19 ans
  Richard Nyberg 59c62b3eb0 Change the downloaders option to max-uploads. I find it much less confusing il y a 19 ans
  Richard Nyberg 31f0e727df Add torrent_name function and use it. il y a 19 ans
  Richard Nyberg c069f03a8e btcli stat now takes file arguments to only include stats for the given il y a 19 ans
  Richard Nyberg ce06752526 Include the info hash in the tpstat structure. il y a 19 ans
  Richard Nyberg 19b4bf192b o Since the torrent sub structs always exist now, we can always write all il y a 19 ans
  Richard Nyberg d08a4c991d There's no need for exactly 64 bits for the upload and download count. il y a 19 ans
  Richard Nyberg e3dc78703a Removed the http_redo hack. il y a 19 ans
  Richard Nyberg 926838a009 o Make the torrent sub struct exist for whole life time of the torrent. il y a 19 ans
  Richard Nyberg 2c43037a69 Fix typo. Index should be i not 1. il y a 19 ans
  Richard Nyberg 2550d6cb8c Interaction with btpd is now much more like I want it. Previous work il y a 19 ans
  Richard Nyberg 1a82f0c154 White space. il y a 19 ans
  Richard Nyberg 634df68e31 Add functions find_btpd_dir. il y a 19 ans
  Richard Nyberg 8d05b64fa1 Remove unused function canon_path. il y a 19 ans
  Richard Nyberg 273294989e Use benc_dget_mema instead of benc_dget_mem + malloc + bcopy. il y a 19 ans
  Richard Nyberg b0c4f58f10 Use strtoul to parse length of strings. il y a 19 ans
  Richard Nyberg d88c65e982 Added buf_swrite. il y a 19 ans
  Richard Nyberg 36a68e4b76 Check for failure to allocate memory. il y a 19 ans
  Richard Nyberg af64140b1f Remove som unused code I commited by mistake. Replace integer parse code il y a 19 ans
  Richard Nyberg 8fd51e90b3 Added description of stat output. Changed the stat output. il y a 19 ans
  Richard Nyberg 01c92051d5 o Changed the benc_ api to make it easier to use. il y a 19 ans
  Richard Nyberg 6559fcb9a4 Make the buf api safe to continue to use even if an error has occured. il y a 19 ans
  Richard Nyberg 38418fcd2b Add functions read_fully and write_fully. They are simpler alternatives to il y a 19 ans
  Richard Nyberg 65f3eb2185 Add a function to look up a torrent by its number. il y a 19 ans
  Richard Nyberg 53c3ba32cf Each torrent now gets a number. This number is used to select which torrent il y a 19 ans
  Richard Nyberg 886fb651d8 Add function to get tracker error count. Don't look for peers and stuff il y a 19 ans
  Richard Nyberg 2528d4ad73 Help text changes. il y a 19 ans
  Richard Nyberg c8f9335e6e Torrents can now be deactivated and btpd will wait for all torrents to il y a 19 ans
  Richard Nyberg 44165a86d0 o Fixed: cm->active was not set to 0 in cm_stop. il y a 19 ans
  Richard Nyberg 76fb776aea Peers we download from are given a weight of two compared to peers we seed to il y a 19 ans
  Richard Nyberg 0c71b0ceb1 Added function http_redo, which does a new request for the same url as an il y a 19 ans
  Richard Nyberg 9af6e55081 * Better message when trying to start btpd in a driectory where it's already il y a 19 ans
  Richard Nyberg e99facbeec Don't clear the bitfield for blocks it's possible we have, even though il y a 19 ans
  Richard Nyberg 7068f34a51 * Implemented the full cm_ life cycle. il y a 19 ans
  Richard Nyberg 476765a7a7 Added option --prealloc and a directory argument to btpd. Synced the command il y a 19 ans
  Richard Nyberg 59bed6ca87 Added vfsync and vfopen. il y a 19 ans
  Richard Nyberg b2a877537a White space. il y a 19 ans
  Richard Nyberg d324b49aaf Implemented a service thread for operations such as testing piece hashes, il y a 19 ans
  Richard Nyberg a3933c0761 Unify the write and read structs. There was no good reason to keep them il y a 19 ans
  Richard Nyberg 66d742a48e peer_on_no_reqs was called unsafely in peer_on_choke. It should only be il y a 19 ans
  Richard Nyberg cdd5e3fbb1 There should be one level of pointer indirection less for the arguments il y a 19 ans
  Richard Nyberg 1c14af0ab4 Add peer_full function. il y a 19 ans
  Richard Nyberg 3c0e61e112 A peer needs to be removed from the peer list before being handed to il y a 19 ans