Commit Graph

  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • 3d62218 Remove fixed item. by Richard Nyberg 2005-07-22 10:01:56 +0000
  • b7e1e47 Add item for 0.3. by Richard Nyberg 2005-07-21 17:01:42 +0000
  • 6bcb6d3 Code shuffle. by Richard Nyberg 2005-07-21 16:59:49 +0000
  • 0ce6fa1 * Use torrent_get_piece instead of loop. Check for correctness. by Richard Nyberg 2005-07-21 16:50:27 +0000
  • 7ced6ad Prepare for release 0.3. by Richard Nyberg 2005-07-21 15:33:59 +0000
  • c25ede2 Clear flag for busy blocks when entering end game. Add test for program correctness. by Richard Nyberg 2005-07-21 15:11:14 +0000
  • 3f6e384 No need to test piece_full in end game mode. Added test for program correctness. by Richard Nyberg 2005-07-21 15:09:40 +0000
  • 2904cdc Add tests for correctness. by Richard Nyberg 2005-07-21 15:06:13 +0000
  • ce0e134 Increase the number of requests to pipe to 10. by Richard Nyberg 2005-07-21 15:05:33 +0000
  • 0c794ac The test for if we should call cm_on_undownload or not wasn't totally correct. Since there's a possibility that we've assigned requests to peer and then decreased the wanted level, we could've missed peers with requests but a wanted level of zero. by Richard Nyberg 2005-07-21 09:29:19 +0000
  • c8a115a Introduce the -d option. by Richard Nyberg 2005-07-21 09:23:25 +0000
  • 5169d5a Missed to update peer->nreqs_out at a couple of places. by Richard Nyberg 2005-07-20 21:44:37 +0000
  • 78fddd5 Peers wasn't removed from the list of unattached peers before being added to the torrent list. This bug crept in because this file was based on an earlier version of policy.c. by Richard Nyberg 2005-07-20 21:42:22 +0000
  • 5d6ad9d Don't try to assign requests if the peer already has enough requests. by Richard Nyberg 2005-07-20 20:57:06 +0000
  • 0502d4b Rework the download algorithm. This isn't tested yet, but it compiles so it must be bug free :) by Richard Nyberg 2005-07-20 20:11:03 +0000
  • aecad43 Remove -Wall -Werror from the default CFLAGS. Add --with-warn option to configure, making it easy to select between a couple of predefined warning options. by Richard Nyberg 2005-07-19 10:49:54 +0000
  • 614afd2 Use net_read_to_buf in net_generic_read. by Richard Nyberg 2005-07-17 20:10:57 +0000
  • 47aa24c Add net_read_to_buf getting rid of some common code. I should make net_generic_read use a real io_buffer and this function too. by Richard Nyberg 2005-07-17 18:33:16 +0000
  • ba425dc Make changes in the choke/interest state of a peer visible to the policy on a lower level. by Richard Nyberg 2005-07-17 18:06:26 +0000
  • 474c7b5 * Better interface between the net and peer code. The net code now calls the peer code when it has read a full message. This has mostly involved moving code from net.c to peer.c. by Richard Nyberg 2005-07-17 15:39:48 +0000
  • 8e3883a This is version 0.2. by Richard Nyberg 2005-07-07 19:41:55 +0000
  • 4aaf966 Add CHANGES. A file describing changes between versions of btpd. by Richard Nyberg 2005-07-07 19:25:31 +0000
  • 0aec4ea *) Add one item. *) Don't call names. *) Don't think it's neccessary to include fixing of general bugs. by Richard Nyberg 2005-07-07 16:21:51 +0000
  • 96d6843 Add check so that we don't connect to more peers than we should. by Richard Nyberg 2005-07-07 13:21:23 +0000
  • b5cdaf0 Write "1 torrent." instead of "1 torrents.". by Richard Nyberg 2005-07-07 13:19:37 +0000
  • f8a4999 The generic reader didn't have a buffer that was large enough to save uncomplete messages. I had forgotten about the four bytes of message length preceding the message. A buffer overflow could occur because of this. Ouch! by Richard Nyberg 2005-07-07 12:55:44 +0000
  • 051b1b4 Accept more data from tracker. by Richard Nyberg 2005-07-07 12:51:45 +0000
  • 6176912 It wasn't safe to modify the list from within the loop. Fixed it. by Richard Nyberg 2005-07-06 19:10:59 +0000
  • 4b9aa9c Keep peers not attached to a torrent on a list, making it possible to remove peers in mid hand- shake when removing a torrent. by Richard Nyberg 2005-07-06 17:14:02 +0000
  • fda0037 Remove #if 0'ed code. by Richard Nyberg 2005-07-04 19:13:50 +0000
  • 6bba1ff Remove unused label. by Richard Nyberg 2005-07-04 15:46:51 +0000
  • bdb91bc Sanity checks. by Richard Nyberg 2005-07-04 15:46:10 +0000
  • 27ba618 Move increment of btpd.npeers to a more fitting location. by Richard Nyberg 2005-07-04 15:41:31 +0000
  • 36ea68a No need to check for EINTR. by Richard Nyberg 2005-07-04 15:38:37 +0000
  • b5ee1db Must save the old time to be able to calculate the delta. by Richard Nyberg 2005-07-04 06:56:56 +0000
  • c8ba22b Base bandwidth calculations on actual time between data points, instead of the ideal. by Richard Nyberg 2005-07-03 19:38:59 +0000
  • 2cb31f1 Update btpd.npeers in the right place. by Richard Nyberg 2005-07-03 19:35:14 +0000
  • f9170e8 Don't multiply the index by 6, it's increased by that amount each loop. by Richard Nyberg 2005-07-03 19:33:33 +0000
  • b529666 Use compact mode for tracker requests. by Richard Nyberg 2005-07-03 13:02:43 +0000
  • 307b9a5 Before, the count of uploaded torrent data was increases by the block size as soon as the message head was written to the network. Now it's increased for each byte of torrent data we've written. by Richard Nyberg 2005-07-03 09:41:31 +0000
  • b84c77f New algorithm for bandwidth limitation. by Richard Nyberg 2005-07-03 09:37:25 +0000
  • c375a92 Rename TAILQ to BTPDQ to avoid macro redefinition, which may happen if some other header includes sys/queue.h. by Richard Nyberg 2005-06-28 16:54:45 +0000
  • 2131b9c test(1) uses '=' as the equality operator, not '=='. by Richard Nyberg 2005-06-28 16:39:56 +0000
  • 33e4dfd Separate the child struct from worker specific data. by Richard Nyberg 2005-06-24 11:32:43 +0000
  • f25e5b2 sprintf -> snprintf Removed two unnecessary assignments. by Richard Nyberg 2005-06-24 10:25:40 +0000
  • 4dd1bad * Indicate that this is not version 0.1 any more. * Change email address. * Better tests for curl. by Richard Nyberg 2005-06-24 10:13:10 +0000
  • 6af4c68 Changed email address. by Richard Nyberg 2005-06-24 10:00:00 +0000
  • 78c9ff4 Create main development area. by Richard Nyberg 2005-06-24 09:54:33 +0000
  • dd0d462 Import btpd-0.1. by Richard Nyberg 2005-06-24 09:51:38 +0000