]>
Sergey Matveev's repositories - btrtrc.git/log
Matt Joiner [Wed, 27 Aug 2014 23:32:49 +0000 (09:32 +1000)]
Add useful new metrics to connection
Matt Joiner [Wed, 27 Aug 2014 23:31:05 +0000 (09:31 +1000)]
Rename connection.closed->closing
Matt Joiner [Wed, 27 Aug 2014 22:09:41 +0000 (08:09 +1000)]
Fix crashes in torrentfs.fileNode.Read
Matt Joiner [Wed, 27 Aug 2014 22:08:59 +0000 (08:08 +1000)]
Make use of FUSE readahead
Matt Joiner [Wed, 27 Aug 2014 22:08:09 +0000 (08:08 +1000)]
Add some counters and tracking to torrentfs events
Matt Joiner [Wed, 27 Aug 2014 22:05:06 +0000 (08:05 +1000)]
Some fixes and improvements to dirwatch
Matt Joiner [Wed, 27 Aug 2014 22:04:41 +0000 (08:04 +1000)]
A type for heapifying worst performing conns
Matt Joiner [Wed, 27 Aug 2014 22:03:55 +0000 (08:03 +1000)]
Add a test for double Close of torrent.torrent
Matt Joiner [Mon, 25 Aug 2014 12:15:45 +0000 (22:15 +1000)]
Fix a few crashes
Matt Joiner [Mon, 25 Aug 2014 12:15:18 +0000 (22:15 +1000)]
Some logic improvements to torrentfs.fileNode.Read
Matt Joiner [Mon, 25 Aug 2014 12:14:31 +0000 (22:14 +1000)]
dht.Server.Ping didn't lock structure
Matt Joiner [Mon, 25 Aug 2014 12:14:10 +0000 (22:14 +1000)]
Misc trivial improvements
Matt Joiner [Mon, 25 Aug 2014 12:12:50 +0000 (22:12 +1000)]
Add a date to the metadata packet client version string
Matt Joiner [Mon, 25 Aug 2014 12:12:16 +0000 (22:12 +1000)]
Implement the DHT Port message
Matt Joiner [Sun, 24 Aug 2014 20:01:09 +0000 (06:01 +1000)]
TODO
Matt Joiner [Sun, 24 Aug 2014 20:01:05 +0000 (06:01 +1000)]
Stop announcing on DHT if a torrent is removed
Matt Joiner [Sun, 24 Aug 2014 20:00:29 +0000 (06:00 +1000)]
Make NoUpload a client configuration option and use it for torrentfs
Matt Joiner [Sun, 24 Aug 2014 19:31:34 +0000 (05:31 +1000)]
Improve incomplete piece ordering, responsive download strategy
Matt Joiner [Sun, 24 Aug 2014 19:25:52 +0000 (05:25 +1000)]
Use CopyExact when extracting handshake read
Matt Joiner [Sun, 24 Aug 2014 19:24:18 +0000 (05:24 +1000)]
Let client.DataWaiter have its own mutex
Matt Joiner [Sun, 24 Aug 2014 19:23:28 +0000 (05:23 +1000)]
Make use of levelmu to prioritize client.TorrentReadAt
Matt Joiner [Sun, 24 Aug 2014 19:22:34 +0000 (05:22 +1000)]
Add levelmu, a package implementing priority mutex with levels
Matt Joiner [Sat, 23 Aug 2014 20:54:14 +0000 (06:54 +1000)]
Add some checks to TorrentReadAt for 0 byte reads
Matt Joiner [Sat, 23 Aug 2014 17:11:35 +0000 (03:11 +1000)]
Add piece length to torrent status
Matt Joiner [Sat, 23 Aug 2014 17:10:47 +0000 (03:10 +1000)]
Count posted cancels
Matt Joiner [Sat, 23 Aug 2014 17:09:13 +0000 (03:09 +1000)]
TODO
Matt Joiner [Sat, 23 Aug 2014 17:09:02 +0000 (03:09 +1000)]
Optimize torrent.Length()
Matt Joiner [Sat, 23 Aug 2014 17:08:11 +0000 (03:08 +1000)]
Got a nice working algorithm for responsive download strategy
Matt Joiner [Sat, 23 Aug 2014 17:04:07 +0000 (03:04 +1000)]
Add a counter for optimized cancels
Matt Joiner [Fri, 22 Aug 2014 07:47:44 +0000 (17:47 +1000)]
Count unexpected cancels received
Matt Joiner [Fri, 22 Aug 2014 07:40:22 +0000 (17:40 +1000)]
Extend the dial timeout to 30s
Matt Joiner [Fri, 22 Aug 2014 07:40:10 +0000 (17:40 +1000)]
Missing Close
Matt Joiner [Fri, 22 Aug 2014 07:39:18 +0000 (17:39 +1000)]
Clarify EOF in message decoding
Matt Joiner [Fri, 22 Aug 2014 07:37:18 +0000 (17:37 +1000)]
Avoid allocations in shuffledPendingChunkSpecs
Matt Joiner [Fri, 22 Aug 2014 07:35:15 +0000 (17:35 +1000)]
Ditch ordering of prioritized chunks
Matt Joiner [Fri, 22 Aug 2014 07:33:17 +0000 (17:33 +1000)]
Improve status and logging
Matt Joiner [Fri, 22 Aug 2014 07:31:03 +0000 (17:31 +1000)]
Simplify dirwatch to scan the whole directory on changes
Matt Joiner [Thu, 21 Aug 2014 17:45:31 +0000 (03:45 +1000)]
Improve DHT distance tests
Matt Joiner [Thu, 21 Aug 2014 17:42:38 +0000 (03:42 +1000)]
Extract function generating all chunk specs for a piece
Matt Joiner [Thu, 21 Aug 2014 17:42:00 +0000 (03:42 +1000)]
Fix crash in metadata requests beyond available info bytes
Matt Joiner [Thu, 21 Aug 2014 15:37:34 +0000 (01:37 +1000)]
Improve the log message for torrentfs reads
Matt Joiner [Thu, 21 Aug 2014 15:33:13 +0000 (01:33 +1000)]
Export some log events via expvar instead
Matt Joiner [Thu, 21 Aug 2014 15:26:41 +0000 (01:26 +1000)]
Fix error in bitfield correction expression and off by one condition when metadata is completed
Matt Joiner [Thu, 21 Aug 2014 15:25:18 +0000 (01:25 +1000)]
Remove torrent from download strategy when dropped
Matt Joiner [Thu, 21 Aug 2014 11:12:50 +0000 (21:12 +1000)]
Add test for dht.NewServer and change StopServing to Close
Matt Joiner [Thu, 21 Aug 2014 11:10:19 +0000 (21:10 +1000)]
Store pending peers in a dict to prevent duplicates
Matt Joiner [Thu, 21 Aug 2014 11:08:56 +0000 (21:08 +1000)]
Clean up imports
Matt Joiner [Thu, 21 Aug 2014 11:07:44 +0000 (21:07 +1000)]
Move some tracker.CompactPeer into util
Matt Joiner [Thu, 21 Aug 2014 08:24:19 +0000 (18:24 +1000)]
Add CopyExact util function
Matt Joiner [Thu, 21 Aug 2014 08:13:41 +0000 (18:13 +1000)]
Add TODO file
Matt Joiner [Thu, 21 Aug 2014 08:12:49 +0000 (18:12 +1000)]
Improve the internal connection and handshake logic
Matt Joiner [Thu, 21 Aug 2014 08:07:06 +0000 (18:07 +1000)]
Tidy up the torrent and DHT APIs
Matt Joiner [Sat, 16 Aug 2014 14:44:05 +0000 (00:44 +1000)]
Print dht-ping reponses with %q
Matt Joiner [Thu, 24 Jul 2014 03:46:49 +0000 (13:46 +1000)]
Triage upload contention due to lack of uploader routine
Matt Joiner [Thu, 24 Jul 2014 03:46:14 +0000 (13:46 +1000)]
Triage announcer leak on dropped torrents
Matt Joiner [Thu, 24 Jul 2014 03:45:49 +0000 (13:45 +1000)]
cmd/torrentfs: Missing listener on client
Matt Joiner [Thu, 24 Jul 2014 03:45:18 +0000 (13:45 +1000)]
dht: Message only the most likely peers
Matt Joiner [Thu, 24 Jul 2014 03:44:23 +0000 (13:44 +1000)]
Support watching for ".magnet" files in torrent directory
Matt Joiner [Thu, 24 Jul 2014 03:43:45 +0000 (13:43 +1000)]
Comments and logging
Matt Joiner [Thu, 24 Jul 2014 03:43:11 +0000 (13:43 +1000)]
Improve client status
Matt Joiner [Thu, 24 Jul 2014 03:42:31 +0000 (13:42 +1000)]
Move priority management entirely into the download strategies
Matt Joiner [Wed, 23 Jul 2014 04:55:38 +0000 (14:55 +1000)]
torrentfs: Support torrents that don't yet have their metadata
Matt Joiner [Tue, 22 Jul 2014 15:54:58 +0000 (01:54 +1000)]
Abstract the status HTTP server into package util
Matt Joiner [Tue, 22 Jul 2014 15:54:11 +0000 (01:54 +1000)]
torrentfs: Match the active torrents to those found in the given directory
Matt Joiner [Tue, 22 Jul 2014 15:51:30 +0000 (01:51 +1000)]
Fix missed unlock adding peers to non-existent torrent
Matt Joiner [Tue, 22 Jul 2014 15:50:49 +0000 (01:50 +1000)]
Fix crash printing client status if DHT isn't enabled
Matt Joiner [Tue, 22 Jul 2014 11:45:12 +0000 (21:45 +1000)]
Implement "yourip" field of extension protocol handshake
Matt Joiner [Thu, 17 Jul 2014 16:39:09 +0000 (02:39 +1000)]
Script that unblocks unit tests frozen in FUSE
Matt Joiner [Thu, 17 Jul 2014 16:38:32 +0000 (02:38 +1000)]
Fix peer_protocol test
Matt Joiner [Thu, 17 Jul 2014 16:38:11 +0000 (02:38 +1000)]
Put checks in place for peer addresses with a zero Port
Matt Joiner [Thu, 17 Jul 2014 16:37:33 +0000 (02:37 +1000)]
Error in connection.writer goroutine wasn't killing the connection
Matt Joiner [Thu, 17 Jul 2014 06:05:21 +0000 (16:05 +1000)]
dht_test: Add commented out test I haven't resolved yet
Matt Joiner [Thu, 17 Jul 2014 06:04:56 +0000 (16:04 +1000)]
TODO
Matt Joiner [Thu, 17 Jul 2014 06:04:43 +0000 (16:04 +1000)]
Show piece counts for peers in status page
Lets me visually check that connections agree on number of pieces.
Matt Joiner [Thu, 17 Jul 2014 06:03:59 +0000 (16:03 +1000)]
dht: Timeout goroutines waiting for transaction responses
Matt Joiner [Thu, 17 Jul 2014 06:02:30 +0000 (16:02 +1000)]
Fix goroutine leak for connection.writer
Matt Joiner [Thu, 17 Jul 2014 06:01:48 +0000 (16:01 +1000)]
Squash some more debug messages, fix some other error handling
Matt Joiner [Thu, 17 Jul 2014 05:58:33 +0000 (15:58 +1000)]
Missing newline between torrents in client status
Matt Joiner [Wed, 16 Jul 2014 07:11:45 +0000 (17:11 +1000)]
Use low-water mark to populate connection requests
I can't believe I didn't think of this before. It should address massive
performance problems I've had here.
Matt Joiner [Wed, 16 Jul 2014 07:10:49 +0000 (17:10 +1000)]
Squash various unhandled DHT messages
Matt Joiner [Wed, 16 Jul 2014 07:10:17 +0000 (17:10 +1000)]
Fix crash when KRPC messages don't contain a valid "t" field
Matt Joiner [Wed, 16 Jul 2014 07:09:30 +0000 (17:09 +1000)]
Correct the connection peer bitfields when the metadata becomes available
Matt Joiner [Wed, 16 Jul 2014 07:08:47 +0000 (17:08 +1000)]
Memory leak because queued peer requests aren't treated yet
Matt Joiner [Wed, 16 Jul 2014 07:08:25 +0000 (17:08 +1000)]
Squash some unhelpful log messages now that stuff is available in status
Matt Joiner [Wed, 16 Jul 2014 07:07:28 +0000 (17:07 +1000)]
Add more information I've needed to the status page
Matt Joiner [Wed, 16 Jul 2014 07:06:18 +0000 (17:06 +1000)]
Make the discovery source for a connection more descriptive
Matt Joiner [Mon, 14 Jul 2014 13:12:52 +0000 (23:12 +1000)]
Invalidating metadata would cause a crash when metadata pieces kept arriving
Matt Joiner [Mon, 14 Jul 2014 13:12:15 +0000 (23:12 +1000)]
Client would attempt to download if unchoked before the metadata is available
Matt Joiner [Sun, 13 Jul 2014 07:37:12 +0000 (17:37 +1000)]
API changes in github.com/anacrolix/libtorgo
Matt Joiner [Fri, 11 Jul 2014 15:24:01 +0000 (01:24 +1000)]
dht: Reply to get_peers and find_node queries
Matt Joiner [Fri, 11 Jul 2014 15:23:10 +0000 (01:23 +1000)]
cmd/torrent: Run the http server by default
Matt Joiner [Fri, 11 Jul 2014 09:30:20 +0000 (19:30 +1000)]
Add DHT support to cmd/torrent
Matt Joiner [Wed, 9 Jul 2014 16:59:37 +0000 (02:59 +1000)]
Run go vet on everything
Matt Joiner [Wed, 9 Jul 2014 16:53:46 +0000 (02:53 +1000)]
Fix incorrect log call
At least vet catches it...
Matt Joiner [Wed, 9 Jul 2014 14:26:58 +0000 (00:26 +1000)]
Keep pieces sorted by bytes left
Matt Joiner [Wed, 9 Jul 2014 14:16:09 +0000 (00:16 +1000)]
Add some extra char flags to connection status
Matt Joiner [Wed, 9 Jul 2014 14:15:28 +0000 (00:15 +1000)]
dht-get-peers: Some improvements
Matt Joiner [Wed, 9 Jul 2014 14:15:03 +0000 (00:15 +1000)]
torrent-infohash: utility to print the info hash of a torrent file
Matt Joiner [Wed, 9 Jul 2014 14:14:19 +0000 (00:14 +1000)]
Start a simpler replacement for davecheney's profile package
Matt Joiner [Wed, 9 Jul 2014 14:13:54 +0000 (00:13 +1000)]
dht: Concurrency improvements and fixes to bootstrapping and getting peers