78 Revīzijas (d8720e889c6f4e96681d6bc494db6171742e715a)
 

Autors SHA1 Ziņojums Datums
  Richard Nyberg d8720e889c Use the piece destructor. pirms 19 gadiem
  Richard Nyberg dc45054fe8 Add some macros. pirms 19 gadiem
  Richard Nyberg a67eaf47cb Simplify the autocrap somewhat. Always include the #defines needed pirms 19 gadiem
  Richard Nyberg 08dcc6b892 Remove a bad assert. The test can be true during normal operation. pirms 19 gadiem
  Richard Nyberg eaf95339c7 Set an upper limit on how many piece messages to queue for pirms 19 gadiem
  Richard Nyberg fcbec726e5 Only allocate one have message for all peers, instead of one per peer. pirms 19 gadiem
  Richard Nyberg 2acdcff5a6 * Rearrange some code. Mostly from net to net_buf and peer. pirms 19 gadiem
  Richard Nyberg e485377f95 The fix for bitfield in r59 wasn't quite correct. Instead of pirms 19 gadiem
  Richard Nyberg 8115e481fa Wrong logmask was used. pirms 19 gadiem
  Richard Nyberg 77177de52c Set version to 0.4. pirms 19 gadiem
  Richard Nyberg 0537ec3edd Add items for 0.4. pirms 19 gadiem
  Richard Nyberg 01191f2561 Spelling. pirms 19 gadiem
  Richard Nyberg aa50cbe63a Removed the info entry in the net_buf. The information can easily pirms 19 gadiem
  Richard Nyberg 1e1846b8f3 Better tests. peer_laden is needed beacuse the peer might have pirms 19 gadiem
  Richard Nyberg c11a57b8cb Fix style. Remove unnecessary check for EINTR. pirms 19 gadiem
  Richard Nyberg 17a1f68906 All files: pirms 19 gadiem
  Richard Nyberg af31e76618 * Don't hold a net_buf on allocation. Do it when it's really needed instead. pirms 19 gadiem
  Richard Nyberg bf2c2c6338 Make sure we don't empty the outq and leave the write callback enabled. pirms 19 gadiem
  Richard Nyberg 4f916d8abd Remove dead code. pirms 19 gadiem
  Richard Nyberg 9cc1ffda34 Rework the outgoing network buffers. The buffers now contain more pirms 19 gadiem
  Richard Nyberg 762b3560a5 Missing space. pirms 19 gadiem
  Richard Nyberg aa31f523a3 Queue the bitfield for sending after the handshake is completed. pirms 19 gadiem
  Richard Nyberg fcc9418b92 At each bandwidth call the remaining bandwidht counter is set to limit / hz. pirms 19 gadiem
  Richard Nyberg 3ae85c522a Spelling. pirms 19 gadiem
  Richard Nyberg f671c4f965 Use the old simpler bandwidth limiter, but run it at a configurable rate. pirms 19 gadiem
  Richard Nyberg f65633c531 Set a 60s timeout on writes. If a write times ut the peer in question will pirms 19 gadiem
  Richard Nyberg 40ffcd13c2 Kill a peer when write indicates a closed connection. pirms 19 gadiem
  Richard Nyberg 1aee379342 Speling. pirms 19 gadiem
  Richard Nyberg ee7abdea2a The assert is only valid if we haven't transitioned to end game. pirms 19 gadiem
  Richard Nyberg 3d6221834c Remove fixed item. pirms 19 gadiem
  Richard Nyberg b7e1e47ae4 Add item for 0.3. pirms 19 gadiem
  Richard Nyberg 6bcb6d3816 Code shuffle. pirms 19 gadiem
  Richard Nyberg 0ce6fa1d0c * Use torrent_get_piece instead of loop. Check for correctness. pirms 19 gadiem
  Richard Nyberg 7ced6added Prepare for release 0.3. pirms 19 gadiem
  Richard Nyberg c25ede2479 Clear flag for busy blocks when entering end game. pirms 19 gadiem
  Richard Nyberg 3f6e384568 No need to test piece_full in end game mode. pirms 19 gadiem
  Richard Nyberg 2904cdca2d Add tests for correctness. pirms 19 gadiem
  Richard Nyberg ce0e134bc4 Increase the number of requests to pipe to 10. pirms 19 gadiem
  Richard Nyberg 0c794ac33a The test for if we should call cm_on_undownload or not wasn't pirms 19 gadiem
  Richard Nyberg c8a115a0f0 Introduce the -d option. pirms 19 gadiem
  Richard Nyberg 5169d5a862 Missed to update peer->nreqs_out at a couple of places. pirms 19 gadiem
  Richard Nyberg 78fddd57db Peers wasn't removed from the list of unattached peers before being pirms 19 gadiem
  Richard Nyberg 5d6ad9d7bb Don't try to assign requests if the peer already has enough requests. pirms 19 gadiem
  Richard Nyberg 0502d4bf92 Rework the download algorithm. This isn't tested yet, but it compiles pirms 19 gadiem
  Richard Nyberg aecad435f7 Remove -Wall -Werror from the default CFLAGS. pirms 19 gadiem
  Richard Nyberg 614afd29cd Use net_read_to_buf in net_generic_read. pirms 19 gadiem
  Richard Nyberg 47aa24ceaf Add net_read_to_buf getting rid of some common code. I should make pirms 19 gadiem
  Richard Nyberg ba425dc31a Make changes in the choke/interest state of a peer visible to the pirms 19 gadiem
  Richard Nyberg 474c7b5b3a * Better interface between the net and peer code. pirms 19 gadiem
  Richard Nyberg 8e3883a853 This is version 0.2. pirms 19 gadiem