about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2005-07-21Prepare for release 0.3.Richard Nyberg
2005-07-21Clear flag for busy blocks when entering end game.Richard Nyberg
Add test for program correctness.
2005-07-21No need to test piece_full in end game mode.Richard Nyberg
Added test for program correctness.
2005-07-21Add tests for correctness.Richard Nyberg
2005-07-21Increase the number of requests to pipe to 10.Richard Nyberg
2005-07-21The test for if we should call cm_on_undownload or not wasn'tRichard Nyberg
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. Now we check if the peer has any requests instead.
2005-07-21Introduce the -d option.Richard Nyberg
2005-07-20Missed to update peer->nreqs_out at a couple of places.Richard Nyberg
2005-07-20Peers wasn't removed from the list of unattached peers before beingRichard Nyberg
added to the torrent list. This bug crept in because this file was based on an earlier version of policy.c.
2005-07-20Don't try to assign requests if the peer already has enough requests.Richard Nyberg
2005-07-20Rework the download algorithm. This isn't tested yet, but it compilesRichard Nyberg
so it must be bug free :)
2005-07-19Remove -Wall -Werror from the default CFLAGS.Richard Nyberg
Add --with-warn option to configure, making it easy to select between a couple of predefined warning options. Having all warnings on and treated as errors wasn't so good, since different versions of gcc have different warnings. There's no need to make it harder than it should be to build btpd.
2005-07-17Use net_read_to_buf in net_generic_read.Richard Nyberg
2005-07-17Add net_read_to_buf getting rid of some common code. I should makeRichard Nyberg
net_generic_read use a real io_buffer and this function too.
2005-07-17Make changes in the choke/interest state of a peer visible to theRichard Nyberg
policy on a lower level.
2005-07-17* Better interface between the net and peer code.Richard Nyberg
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. * Added torrent_piece_size helper function.
2005-07-07This is version 0.2.Richard Nyberg
2005-07-07Add CHANGES. A file describing changes between versions of btpd.Richard Nyberg
2005-07-07*) Add one item.Richard Nyberg
*) Don't call names. *) Don't think it's neccessary to include fixing of general bugs.
2005-07-07Add check so that we don't connect to more peers than we should.Richard Nyberg
2005-07-07Write "1 torrent." instead of "1 torrents.".Richard Nyberg
2005-07-07The generic reader didn't have a buffer that was large enough toRichard Nyberg
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!
2005-07-07Accept more data from tracker.Richard Nyberg
2005-07-06It wasn't safe to modify the list from within the loop. Fixed it.Richard Nyberg
2005-07-06Keep peers not attached to a torrent on a list,Richard Nyberg
making it possible to remove peers in mid hand- shake when removing a torrent.
2005-07-04Remove #if 0'ed code.Richard Nyberg
2005-07-04Remove unused label.Richard Nyberg
2005-07-04Sanity checks.Richard Nyberg
2005-07-04Move increment of btpd.npeers to a more fitting location.Richard Nyberg
2005-07-04No need to check for EINTR.Richard Nyberg
2005-07-04Must save the old time to be able to calculate the delta.Richard Nyberg
2005-07-03Base bandwidth calculations on actual time between data points,Richard Nyberg
instead of the ideal.
2005-07-03Update btpd.npeers in the right place.Richard Nyberg
2005-07-03Don't multiply the index by 6, it's increased by that amount each loop.Richard Nyberg
2005-07-03Use compact mode for tracker requests.Richard Nyberg
2005-07-03Before, the count of uploaded torrent data was increases by the block sizeRichard Nyberg
as soon as the message head was written to the network. Now it's increased for each byte of torrent data we've written.
2005-07-03New algorithm for bandwidth limitation.Richard Nyberg
2005-06-28Rename TAILQ to BTPDQ to avoid macro redefinition,Richard Nyberg
which may happen if some other header includes sys/queue.h.
2005-06-28test(1) uses '=' as the equality operator, not '=='.Richard Nyberg
2005-06-24Separate the child struct from worker specific data.Richard Nyberg
2005-06-24sprintf -> snprintfRichard Nyberg
Removed two unnecessary assignments.
2005-06-24* Indicate that this is not version 0.1 any more.Richard Nyberg
* Change email address. * Better tests for curl.
2005-06-24Changed email address.Richard Nyberg
2005-06-24Create main development area.Richard Nyberg
2005-06-24Import btpd-0.1.Richard Nyberg
git-svn-id: file:///home/rnyberg/svngit/btpd/releases/0.1@1 76a1f634-46fa-0310-9943-bd1476092a85