Commits

Author Commit Message Labels Comments Date
Matt Joiner
Notify when active connection is removed
Matt Joiner
Vastly improve request selection
Matt Joiner
Bitfield.__contains__
Matt Joiner
Do state management in Connection wherever possible
Matt Joiner
Move bitfield sending logic after handshake into Connection
Matt Joiner
General improvements to Connection
Matt Joiner
Add send and recv timeouts, add Connection.{request,cancel}
Matt Joiner
Improve multiset
Matt Joiner
Return closed state from SocketSender.send()
Matt Joiner
Set thread stack size to 4MiB
Matt Joiner
Improve logging
Matt Joiner
Document and tidy coop module
Matt Joiner
Remove unused lock logging code
Matt Joiner
Add coop.Condition.notify
Matt Joiner
Add to TODO
Matt Joiner
Add upload routine
Matt Joiner
Make routine sleeps return early when Torrent closes
Matt Joiner
Replace Connection.__recv with Torrent.recv
Matt Joiner
Improvements to multiset
Matt Joiner
Switch to cooperative threading
Matt Joiner
Add 'coop' module for my "inverse" locking and cooperative threading idea
Matt Joiner
Cleanup logging
Matt Joiner
I don't like to use args = *.parse_args() anymore
Matt Joiner
Wrap Torrent routines with Torrent.add_thread
Matt Joiner
Add to TODO
Matt Joiner
Prevent multiset from discarding elements into negative counts
Matt Joiner
Torrent.peer_routine had no way to return when the torrent is closed
Matt Joiner
Correct some locking in Connection.recv_* methods
Matt Joiner
Logged{,R}Lock hooks
Matt Joiner
Standardize nomenclature in Torrent.got_block
  1. Prev
  2. Next