about summary refs log tree commit diff
AgeCommit message (Expand)Author
2006-02-01Added function http_redo, which does a new request for the same url as anRichard Nyberg
2006-01-25* Better message when trying to start btpd in a driectory where it's alreadyRichard Nyberg
2006-01-24Don't clear the bitfield for blocks it's possible we have, even thoughRichard Nyberg
2006-01-22* Implemented the full cm_ life cycle.Richard Nyberg
2006-01-22Added option --prealloc and a directory argument to btpd. Synced the commandRichard Nyberg
2006-01-22Added vfsync and vfopen.Richard Nyberg
2006-01-17White space.Richard Nyberg
2006-01-16Implemented a service thread for operations such as testing piece hashes,Richard Nyberg
2006-01-16Unify the write and read structs. There was no good reason to keep themRichard Nyberg
2006-01-16peer_on_no_reqs was called unsafely in peer_on_choke. It should only beRichard Nyberg
2006-01-16There should be one level of pointer indirection less for the argumentsRichard Nyberg
2006-01-16Add peer_full function.Richard Nyberg
2006-01-16A peer needs to be removed from the peer list before being handed toRichard Nyberg
2006-01-16Fix conditional I broke in r131.Richard Nyberg
2006-01-10Removed code dealing with child processes; btpd doesn't use them anymore.Richard Nyberg
2006-01-10Changed semantics of cancelled http requests. Before they were reportedRichard Nyberg
2006-01-09* Move the network related parts of the torrent struct to a sub struct.Richard Nyberg
2006-01-09Fix compiler warnings.Richard Nyberg
2006-01-09Rename tp->cp to tp->cm.Richard Nyberg
2006-01-09Rename p->net to p->in and net_state to input_state. Move code to where itRichard Nyberg
2006-01-09Better tracker code. Mostly done but needs a little more work.Richard Nyberg
2006-01-09Move finished http requests to a queue and post the whole queue at once.Richard Nyberg
2006-01-08OMG! It's a new year already! ;)Richard Nyberg
2006-01-07Nicer code for the http thread.Richard Nyberg
2006-01-06* Added a method for other threads to execute callbacks in the main thread.Richard Nyberg
2006-01-06Added BTPDQ_FOREACH_MUTABLE list macro.Richard Nyberg
2006-01-06Sort.Richard Nyberg
2006-01-04Remove use of the ugly PRI* print macros.Richard Nyberg
2006-01-04o Use the new cm_* content api.Richard Nyberg
2006-01-04New api for managing the content of a torrent. It'll keep track of whichRichard Nyberg
2006-01-04Don't write the rates to the log anymore.Richard Nyberg
2006-01-04Fixed a broken loop. I must have forgotten that the loop variable wasRichard Nyberg
2006-01-03o Removed an unused function.Richard Nyberg
2005-12-17First stab at a choke algorithm for all peers. In previous versions chokingRichard Nyberg
2005-12-14Add and use rand_between.Richard Nyberg
2005-12-02* Some code shuffle and removal of dead code.Richard Nyberg
2005-12-01Rates should be unsigned long. Compute total, torrent and peer rates.Richard Nyberg
2005-12-01dl_on_lost_peer must remove the peer from the list. This was accidentallyRichard Nyberg
2005-12-01Fix an unsafe loop.Richard Nyberg
2005-11-30The mega whitespace patch.Richard Nyberg
2005-11-30* Added net_(add|del)_torrent. net_add_torrent enables p2p for a torrentRichard Nyberg
2005-11-29* Removed the heartbeat and btpd_seconds. Note that this breaks the tracker.Richard Nyberg
2005-11-27* Get rid of net_bw_hz and run the bw stuff at one hz.Richard Nyberg
2005-11-27More name changes from "cm_" to more appropriate names.Richard Nyberg
2005-11-27Rename the list of torrents.Richard Nyberg
2005-11-27This is very much a intermediate commit.Richard Nyberg
2005-11-14Use a flag (PF_DO_UNWANT) to indicate that we should send an uninterestRichard Nyberg
2005-11-07Just bump version number.Richard Nyberg
2005-11-07Step one of many to make the sub systems more modular. This commit getsRichard Nyberg
2005-10-10Set version to 0.7. Update CHANGES.Richard Nyberg