summary refs log tree commit diff
AgeCommit message (Expand)Author
2005-09-24In the transition to end game it's likely that we'll send an uniterestRichard Nyberg
2005-09-23Send a new request to a peer after sending cancel.Richard Nyberg
2005-09-21xRichard Nyberg
2005-09-21Bump version to 0.6.Richard Nyberg
2005-09-20* Allocate request messages on piece creation. The request objects canRichard Nyberg
2005-09-20Use the piece destructor.Richard Nyberg
2005-09-20Add some macros.Richard Nyberg
2005-09-10Simplify the autocrap somewhat. Always include the #defines neededRichard Nyberg
2005-08-30Remove a bad assert. The test can be true during normal operation.Richard Nyberg
2005-08-12Set an upper limit on how many piece messages to queue forRichard Nyberg
2005-08-03Only allocate one have message for all peers, instead of one per peer.Richard Nyberg
2005-08-02* Rearrange some code. Mostly from net to net_buf and peer.Richard Nyberg
2005-08-02The fix for bitfield in r59 wasn't quite correct. Instead ofRichard Nyberg
2005-07-31Wrong logmask was used.Richard Nyberg
2005-07-31Set version to 0.4.Richard Nyberg
2005-07-31Add items for 0.4.Richard Nyberg
2005-07-30Spelling.Richard Nyberg
2005-07-30Removed the info entry in the net_buf. The information can easilyRichard Nyberg
2005-07-30Better tests. peer_laden is needed beacuse the peer might haveRichard Nyberg
2005-07-30Fix style. Remove unnecessary check for EINTR.Richard Nyberg
2005-07-30All files:Richard Nyberg
2005-07-30* Don't hold a net_buf on allocation. Do it when it's really needed instead.Richard Nyberg
2005-07-29Make sure we don't empty the outq and leave the write callback enabled.Richard Nyberg
2005-07-29Remove dead code.Richard Nyberg
2005-07-29Rework the outgoing network buffers. The buffers now contain moreRichard Nyberg
2005-07-29Missing space.Richard Nyberg
2005-07-29Queue the bitfield for sending after the handshake is completed.Richard Nyberg
2005-07-29At each bandwidth call the remaining bandwidht counter is set to limit / hz.Richard Nyberg
2005-07-23Spelling.Richard Nyberg
2005-07-23Use the old simpler bandwidth limiter, but run it at a configurable rate.Richard Nyberg
2005-07-22Set a 60s timeout on writes. If a write times ut the peer in question willRichard Nyberg
2005-07-22Kill a peer when write indicates a closed connection.Richard Nyberg
2005-07-22Speling.Richard Nyberg
2005-07-22The assert is only valid if we haven't transitioned to end game.Richard Nyberg
2005-07-22Remove fixed item.Richard Nyberg
2005-07-21Add item for 0.3.Richard Nyberg
2005-07-21Code shuffle.Richard Nyberg
2005-07-21* Use torrent_get_piece instead of loop. Check for correctness.Richard Nyberg
2005-07-21Prepare for release 0.3.Richard Nyberg
2005-07-21Clear flag for busy blocks when entering end game.Richard Nyberg
2005-07-21No need to test piece_full in end game mode.Richard Nyberg
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
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
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
2005-07-19Remove -Wall -Werror from the default CFLAGS.Richard Nyberg