63 Révisions (17a1f68906a0d5b9a2db7127327a533d231af393)
 

Auteur SHA1 Message Date
  Richard Nyberg 17a1f68906 All files: il y a 19 ans
  Richard Nyberg af31e76618 * Don't hold a net_buf on allocation. Do it when it's really needed instead. il y a 19 ans
  Richard Nyberg bf2c2c6338 Make sure we don't empty the outq and leave the write callback enabled. il y a 19 ans
  Richard Nyberg 4f916d8abd Remove dead code. il y a 19 ans
  Richard Nyberg 9cc1ffda34 Rework the outgoing network buffers. The buffers now contain more il y a 19 ans
  Richard Nyberg 762b3560a5 Missing space. il y a 19 ans
  Richard Nyberg aa31f523a3 Queue the bitfield for sending after the handshake is completed. il y a 19 ans
  Richard Nyberg fcc9418b92 At each bandwidth call the remaining bandwidht counter is set to limit / hz. il y a 19 ans
  Richard Nyberg 3ae85c522a Spelling. il y a 19 ans
  Richard Nyberg f671c4f965 Use the old simpler bandwidth limiter, but run it at a configurable rate. il y a 19 ans
  Richard Nyberg f65633c531 Set a 60s timeout on writes. If a write times ut the peer in question will il y a 19 ans
  Richard Nyberg 40ffcd13c2 Kill a peer when write indicates a closed connection. il y a 19 ans
  Richard Nyberg 1aee379342 Speling. il y a 19 ans
  Richard Nyberg ee7abdea2a The assert is only valid if we haven't transitioned to end game. il y a 19 ans
  Richard Nyberg 3d6221834c Remove fixed item. il y a 19 ans
  Richard Nyberg b7e1e47ae4 Add item for 0.3. il y a 19 ans
  Richard Nyberg 6bcb6d3816 Code shuffle. il y a 19 ans
  Richard Nyberg 0ce6fa1d0c * Use torrent_get_piece instead of loop. Check for correctness. il y a 19 ans
  Richard Nyberg 7ced6added Prepare for release 0.3. il y a 19 ans
  Richard Nyberg c25ede2479 Clear flag for busy blocks when entering end game. il y a 19 ans
  Richard Nyberg 3f6e384568 No need to test piece_full in end game mode. il y a 19 ans
  Richard Nyberg 2904cdca2d Add tests for correctness. il y a 19 ans
  Richard Nyberg ce0e134bc4 Increase the number of requests to pipe to 10. il y a 19 ans
  Richard Nyberg 0c794ac33a The test for if we should call cm_on_undownload or not wasn't il y a 19 ans
  Richard Nyberg c8a115a0f0 Introduce the -d option. il y a 19 ans
  Richard Nyberg 5169d5a862 Missed to update peer->nreqs_out at a couple of places. il y a 19 ans
  Richard Nyberg 78fddd57db Peers wasn't removed from the list of unattached peers before being il y a 19 ans
  Richard Nyberg 5d6ad9d7bb Don't try to assign requests if the peer already has enough requests. il y a 19 ans
  Richard Nyberg 0502d4bf92 Rework the download algorithm. This isn't tested yet, but it compiles il y a 19 ans
  Richard Nyberg aecad435f7 Remove -Wall -Werror from the default CFLAGS. il y a 19 ans
  Richard Nyberg 614afd29cd Use net_read_to_buf in net_generic_read. il y a 19 ans
  Richard Nyberg 47aa24ceaf Add net_read_to_buf getting rid of some common code. I should make il y a 19 ans
  Richard Nyberg ba425dc31a Make changes in the choke/interest state of a peer visible to the il y a 19 ans
  Richard Nyberg 474c7b5b3a * Better interface between the net and peer code. il y a 19 ans
  Richard Nyberg 8e3883a853 This is version 0.2. il y a 19 ans
  Richard Nyberg 4aaf966137 Add CHANGES. A file describing changes between versions of btpd. il y a 19 ans
  Richard Nyberg 0aec4ea071 *) Add one item. il y a 19 ans
  Richard Nyberg 96d68439bb Add check so that we don't connect to more peers than we should. il y a 19 ans
  Richard Nyberg b5cdaf06a9 Write "1 torrent." instead of "1 torrents.". il y a 19 ans
  Richard Nyberg f8a4999e40 The generic reader didn't have a buffer that was large enough to il y a 19 ans
  Richard Nyberg 051b1b4e2a Accept more data from tracker. il y a 19 ans
  Richard Nyberg 617691251e It wasn't safe to modify the list from within the loop. Fixed it. il y a 19 ans
  Richard Nyberg 4b9aa9c042 Keep peers not attached to a torrent on a list, il y a 19 ans
  Richard Nyberg fda00374c7 Remove #if 0'ed code. il y a 19 ans
  Richard Nyberg 6bba1ff6f8 Remove unused label. il y a 19 ans
  Richard Nyberg bdb91bc49b Sanity checks. il y a 19 ans
  Richard Nyberg 27ba618c5e Move increment of btpd.npeers to a more fitting location. il y a 19 ans
  Richard Nyberg 36ea68a4b2 No need to check for EINTR. il y a 19 ans
  Richard Nyberg b5ee1dba08 Must save the old time to be able to calculate the delta. il y a 19 ans
  Richard Nyberg c8ba22b776 Base bandwidth calculations on actual time between data points, il y a 19 ans