29 Incheckningar (eb421cc586f047968763b6e1f595ee5988686690)

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