29 Ревизии (eb421cc586f047968763b6e1f595ee5988686690)

Автор SHA1 Съобщение Дата
  Richard Nyberg eb421cc586 Btpd now uses evloop, it's own event loop, instead of libevent. преди 16 години
  Richard Nyberg 2886768d30 Clean up the #include sections in the btpd files. Most common headers and преди 18 години
  Richard Nyberg 9bd0fc6cdc o Rename net_(write|read)32 to (enc|dec)_be32. Add similar functions for 64 преди 18 години
  Richard Nyberg 564fe5afe1 Some better logging. преди 18 години
  Richard Nyberg e117d81cf3 Only trigger error handling if an error actually occured. :P преди 18 години
  Richard Nyberg 8d7898d728 o Make errors when reading or writing torrent data non fatal. Instead of преди 18 години
  Richard Nyberg 95e83bb247 Make the content code unthreaded and remove the no longer needed inter преди 19 години
  Richard Nyberg b0b50e29b6 Create all files of a torrent at startup. преди 19 години
  Richard Nyberg 45bf9f2658 Allow empty files in torrents. Create them in stat_and_adjust and let the преди 19 години
  Richard Nyberg 86754d7d53 btpd now has a library of torrents indexed by number and info hash. преди 19 години
  Richard Nyberg ed56df9e56 Use the new functions btpd_ev_(add|del) instead of calling event_(add|del) преди 19 години
  Richard Nyberg db49763849 The previous commit was a bit over zealous; the block field should not be преди 19 години
  Richard Nyberg b72b6bb8ba The code for testing content that has potentially been modified between btpd преди 19 години
  Richard Nyberg eb85993c8c Don't allow a negative cm_alloc_size to wreak havoc. преди 19 години
  Richard Nyberg bcac74d138 Safer type use. преди 19 години
  Richard Nyberg 9decd35436 Oops! Forgot to free some memory. преди 19 години
  Richard Nyberg c865aa9254 Use c99 types conservatively to compile on OpenBSD. Also convert to or from преди 19 години
  Richard Nyberg b43809ba55 Mostly name changes. Add a missing include. Changed the torrent status преди 19 години
  Richard Nyberg 31f0e727df Add torrent_name function and use it. преди 19 години
  Richard Nyberg 926838a009 o Make the torrent sub struct exist for whole life time of the torrent. преди 19 години
  Richard Nyberg 2550d6cb8c Interaction with btpd is now much more like I want it. Previous work преди 19 години
  Richard Nyberg 44165a86d0 o Fixed: cm->active was not set to 0 in cm_stop. преди 19 години
  Richard Nyberg e99facbeec Don't clear the bitfield for blocks it's possible we have, even though преди 19 години
  Richard Nyberg 7068f34a51 * Implemented the full cm_ life cycle. преди 19 години
  Richard Nyberg b2a877537a White space. преди 19 години
  Richard Nyberg d324b49aaf Implemented a service thread for operations such as testing piece hashes, преди 19 години
  Richard Nyberg 2d21101699 * Move the network related parts of the torrent struct to a sub struct. преди 19 години
  Richard Nyberg 350f8adc2d Rename tp->cp to tp->cm. преди 19 години
  Richard Nyberg 56320bce47 New api for managing the content of a torrent. It'll keep track of which преди 19 години