]>
Sergey Matveev's repositories - btrtrc.git/log
Matt Joiner [Wed, 18 Mar 2015 07:34:35 +0000 (18:34 +1100)]
Speed up stuff relating to checking piece completion
Matt Joiner [Wed, 18 Mar 2015 07:32:31 +0000 (18:32 +1100)]
Change the interface to add torrents to a Client
Matt Joiner [Wed, 18 Mar 2015 07:29:51 +0000 (18:29 +1100)]
Avoid dopplegangers, foreign address that have our client ID
Matt Joiner [Wed, 18 Mar 2015 07:28:13 +0000 (18:28 +1100)]
Rewrite handshaking and connection management
Matt Joiner [Wed, 18 Mar 2015 07:21:00 +0000 (18:21 +1100)]
Disable AllowedFast
Matt Joiner [Wed, 18 Mar 2015 07:16:27 +0000 (18:16 +1100)]
mse: Check that readUntil doesn't read indefinitely while synchronizing
Matt Joiner [Wed, 18 Mar 2015 07:14:57 +0000 (18:14 +1100)]
mse: Clean-up
Matt Joiner [Wed, 18 Mar 2015 07:12:46 +0000 (18:12 +1100)]
data/blob: Change store eviction to LRU, from random replacement
It works *much* better for torrenting with a readahead window. When we want to
avoid downloading, we want to avoid downloading lots of dispersed pieces.
Matt Joiner [Wed, 18 Mar 2015 07:09:54 +0000 (18:09 +1100)]
util: Support CopyExact with pointer source
Nice to avoid copying large value types.
Matt Joiner [Fri, 13 Mar 2015 03:30:48 +0000 (14:30 +1100)]
Support initial payload, and improve tests
Matt Joiner [Thu, 12 Mar 2015 19:21:13 +0000 (06:21 +1100)]
Tidy up extension bytes handling; don't close conn from handshake writer; force protocol encryption for now
Matt Joiner [Thu, 12 Mar 2015 19:16:49 +0000 (06:16 +1100)]
mse: Tons of fixes and improvements
Matt Joiner [Thu, 12 Mar 2015 09:29:48 +0000 (20:29 +1100)]
msg: Return usable object after handshake
Matt Joiner [Thu, 12 Mar 2015 09:07:10 +0000 (20:07 +1100)]
Add BEP 41 support
Matt Joiner [Thu, 12 Mar 2015 09:06:23 +0000 (20:06 +1100)]
Add support for Fast Extension
Matt Joiner [Thu, 12 Mar 2015 09:04:44 +0000 (20:04 +1100)]
Count peers obtained by tracker
Matt Joiner [Thu, 12 Mar 2015 09:03:29 +0000 (20:03 +1100)]
mse: Got basic message stream encryption working with some tests
Not complete yet.
Matt Joiner [Tue, 10 Mar 2015 17:22:56 +0000 (04:22 +1100)]
Use testing config
Matt Joiner [Tue, 10 Mar 2015 15:41:41 +0000 (02:41 +1100)]
Apply IP blocklist to trackers
Matt Joiner [Tue, 10 Mar 2015 15:41:21 +0000 (02:41 +1100)]
Rework piece completion
Matt Joiner [Tue, 10 Mar 2015 15:39:01 +0000 (02:39 +1100)]
Harmless improvements
Matt Joiner [Mon, 9 Mar 2015 06:36:07 +0000 (17:36 +1100)]
TODO
Matt Joiner [Mon, 9 Mar 2015 06:35:51 +0000 (17:35 +1100)]
Fix a status line going to stdout
Matt Joiner [Mon, 9 Mar 2015 06:35:29 +0000 (17:35 +1100)]
Change torrent.Name()
Matt Joiner [Sun, 8 Mar 2015 06:44:08 +0000 (17:44 +1100)]
util.AddrIP, TCPAddr
Matt Joiner [Sun, 8 Mar 2015 06:43:44 +0000 (17:43 +1100)]
iplist: Fix ranges that contain extra colons, and minimize memory use for IP
Matt Joiner [Sun, 8 Mar 2015 06:28:14 +0000 (17:28 +1100)]
More cleaning of public interface
Matt Joiner [Sat, 7 Mar 2015 06:11:45 +0000 (17:11 +1100)]
Change up the data storage interfaces a bit
Matt Joiner [Sat, 7 Mar 2015 06:11:02 +0000 (17:11 +1100)]
Since IPv6 blocklists aren't prevalent, default to using IPv4 in client for now
Matt Joiner [Sat, 7 Mar 2015 06:09:39 +0000 (17:09 +1100)]
iplist: Check for matches against IPv4 and IPv6 addresses
Matt Joiner [Sat, 7 Mar 2015 06:09:18 +0000 (17:09 +1100)]
Improvements to P2P blocklist scanning errors
Matt Joiner [Wed, 4 Mar 2015 02:07:11 +0000 (13:07 +1100)]
Change the way readahead pieces are calculated
Matt Joiner [Wed, 4 Mar 2015 02:06:33 +0000 (13:06 +1100)]
Implement Handle.ReadAt
Matt Joiner [Sun, 1 Mar 2015 04:19:35 +0000 (15:19 +1100)]
Extraneous import
Matt Joiner [Sun, 1 Mar 2015 03:33:10 +0000 (14:33 +1100)]
TODO
Matt Joiner [Sun, 1 Mar 2015 03:32:54 +0000 (14:32 +1100)]
Support opening handles to Torrent and File
Matt Joiner [Fri, 27 Feb 2015 01:45:55 +0000 (12:45 +1100)]
Make blob data stateful
Matt Joiner [Thu, 26 Feb 2015 14:46:40 +0000 (01:46 +1100)]
Files.Path and .FileInfo change
Matt Joiner [Thu, 26 Feb 2015 14:46:02 +0000 (01:46 +1100)]
Add piece blob torrent.Data storage, and move testutil to internal/, add basic transfer test for Client and blob
Matt Joiner [Thu, 26 Feb 2015 14:43:37 +0000 (01:43 +1100)]
Rename TorrentData->Data
Matt Joiner [Thu, 26 Feb 2015 11:17:58 +0000 (22:17 +1100)]
Ditch the intermediate MetaInfo type
Matt Joiner [Thu, 26 Feb 2015 05:11:33 +0000 (16:11 +1100)]
fs test: Resolve localhost, some platforms are funny about it
Matt Joiner [Thu, 26 Feb 2015 05:10:55 +0000 (16:10 +1100)]
Client.Torrent(InfoHash)
Matt Joiner [Thu, 26 Feb 2015 05:10:38 +0000 (16:10 +1100)]
Implement File.ReadAt
Matt Joiner [Thu, 26 Feb 2015 05:10:15 +0000 (16:10 +1100)]
Scale readahead pieces a bit
Matt Joiner [Wed, 25 Feb 2015 04:42:47 +0000 (15:42 +1100)]
Hide a whole bunch of functions seen via torrent
Matt Joiner [Wed, 25 Feb 2015 04:41:13 +0000 (15:41 +1100)]
Set torrentDataOpener from config
Matt Joiner [Wed, 25 Feb 2015 03:52:19 +0000 (14:52 +1100)]
Not listening!
Matt Joiner [Wed, 25 Feb 2015 03:51:56 +0000 (14:51 +1100)]
Return no Files if Torrent Info isn't available
Matt Joiner [Wed, 25 Feb 2015 03:51:12 +0000 (14:51 +1100)]
Fix imports
Matt Joiner [Wed, 25 Feb 2015 03:50:01 +0000 (14:50 +1100)]
Add Magnet.String()
Matt Joiner [Wed, 25 Feb 2015 03:48:39 +0000 (14:48 +1100)]
Allow configuring Client torrent data opener, config dir, disabling metainfo cache, and prune with a timer instead of goroutine
Matt Joiner [Wed, 25 Feb 2015 00:25:22 +0000 (11:25 +1100)]
Make IPBlockList accessible from Client
Matt Joiner [Tue, 24 Feb 2015 14:40:27 +0000 (01:40 +1100)]
Remove unused code
Matt Joiner [Tue, 24 Feb 2015 14:34:57 +0000 (01:34 +1100)]
Comments
Matt Joiner [Sat, 21 Feb 2015 04:25:34 +0000 (15:25 +1100)]
Hopefully maybe fix bind error on Codeship test runner
Matt Joiner [Sat, 21 Feb 2015 04:02:31 +0000 (15:02 +1100)]
Change piece prioritization
Matt Joiner [Sat, 21 Feb 2015 04:02:06 +0000 (15:02 +1100)]
Improve announcer routines
Matt Joiner [Sat, 21 Feb 2015 04:00:48 +0000 (15:00 +1100)]
dht: Handle responses through a callback
Trying to reduce number of goroutines
Matt Joiner [Sat, 21 Feb 2015 03:58:28 +0000 (14:58 +1100)]
Comments
Matt Joiner [Sat, 21 Feb 2015 03:57:37 +0000 (14:57 +1100)]
Change status output
Matt Joiner [Sat, 21 Feb 2015 03:56:17 +0000 (14:56 +1100)]
Tweak handshaking and peer water marks
Matt Joiner [Sat, 21 Feb 2015 03:54:15 +0000 (14:54 +1100)]
Limit pending requests to increase responsiveness
Matt Joiner [Sat, 21 Feb 2015 03:53:27 +0000 (14:53 +1100)]
TODO
Matt Joiner [Wed, 18 Feb 2015 10:33:42 +0000 (21:33 +1100)]
fs: Ensure DownloadOnDemand runs through UTP
Matt Joiner [Wed, 18 Feb 2015 10:33:03 +0000 (21:33 +1100)]
internal/pieceordering: Doc
Matt Joiner [Mon, 9 Feb 2015 13:21:50 +0000 (00:21 +1100)]
defer Unlock
Matt Joiner [Mon, 9 Feb 2015 13:21:22 +0000 (00:21 +1100)]
dht: Fix race
Matt Joiner [Mon, 9 Feb 2015 13:20:14 +0000 (00:20 +1100)]
cmd/torrent-metainfo-pprint: Add -name flag
Matt Joiner [Mon, 9 Feb 2015 13:19:56 +0000 (00:19 +1100)]
Break active peer status line up
Matt Joiner [Mon, 9 Feb 2015 13:19:31 +0000 (00:19 +1100)]
Fails go vet
Matt Joiner [Mon, 9 Feb 2015 13:18:59 +0000 (00:18 +1100)]
Add File.Progress
Matt Joiner [Mon, 9 Feb 2015 13:17:59 +0000 (00:17 +1100)]
Handle SetDeadline failure for handshake
Matt Joiner [Mon, 9 Feb 2015 13:17:04 +0000 (00:17 +1100)]
uTP raw Socket use is now via .PacketConn
Matt Joiner [Mon, 9 Feb 2015 13:16:01 +0000 (00:16 +1100)]
Misc tidying
Matt Joiner [Mon, 9 Feb 2015 13:14:52 +0000 (00:14 +1100)]
Encapsulate torrent data, and provide os.File and mmap-based implementations
Matt Joiner [Mon, 9 Feb 2015 13:12:29 +0000 (00:12 +1100)]
Hide some methods that shouldn't be public
Matt Joiner [Fri, 6 Feb 2015 05:03:33 +0000 (16:03 +1100)]
Updates due to changes to bazil.org/fuse
Matt Joiner [Fri, 6 Feb 2015 03:54:59 +0000 (14:54 +1100)]
Fix some stuff Rob Clifford broke through stress testing
Matt Joiner [Fri, 30 Jan 2015 14:54:45 +0000 (01:54 +1100)]
Log addr when dials fail for unexpected reason
Matt Joiner [Fri, 30 Jan 2015 14:53:42 +0000 (01:53 +1100)]
Deduplicate iplist range descriptions, saves another 2.8MB heap
Matt Joiner [Fri, 30 Jan 2015 14:53:01 +0000 (01:53 +1100)]
iplist: Make range descriptions copies of substring, saves 8MB heap on level1 blocklist!
Matt Joiner [Thu, 29 Jan 2015 03:51:23 +0000 (14:51 +1100)]
Provide HTTP pprof via envpprof package
Matt Joiner [Thu, 29 Jan 2015 03:29:06 +0000 (14:29 +1100)]
cmd/dht-get-peers: Update to use "dht".Server.Announce
Matt Joiner [Thu, 29 Jan 2015 03:21:42 +0000 (14:21 +1100)]
Use CopyExact
Matt Joiner [Thu, 29 Jan 2015 03:21:05 +0000 (14:21 +1100)]
connectionPruner should terminate when the torrent stops
Matt Joiner [Thu, 29 Jan 2015 03:20:21 +0000 (14:20 +1100)]
dht: Provide Announce, that combines get_peers and announce_peer
Matt Joiner [Thu, 29 Jan 2015 03:17:27 +0000 (14:17 +1100)]
Comments
Matt Joiner [Thu, 29 Jan 2015 03:16:16 +0000 (14:16 +1100)]
Remove util.LoggedHTTPServe, use package envpprof instead
Matt Joiner [Wed, 28 Jan 2015 11:39:30 +0000 (22:39 +1100)]
TODO
Matt Joiner [Wed, 28 Jan 2015 11:39:12 +0000 (22:39 +1100)]
fs/unwedge-tests: Can't assume /tmp on OSX
Matt Joiner [Tue, 27 Jan 2015 14:12:36 +0000 (01:12 +1100)]
Expose Files from Torrent
Matt Joiner [Mon, 26 Jan 2015 09:52:59 +0000 (20:52 +1100)]
Expose PieceStatusCharSequence
Matt Joiner [Mon, 26 Jan 2015 09:52:27 +0000 (20:52 +1100)]
TODO
Matt Joiner [Wed, 21 Jan 2015 13:42:13 +0000 (00:42 +1100)]
Improve returned error
Matt Joiner [Wed, 21 Jan 2015 13:42:03 +0000 (00:42 +1100)]
Code comments
Matt Joiner [Wed, 21 Jan 2015 13:41:06 +0000 (00:41 +1100)]
dht: Reduce memory use
Matt Joiner [Sun, 11 Jan 2015 10:42:57 +0000 (21:42 +1100)]
Fix a few tests
Matt Joiner [Sun, 11 Jan 2015 02:21:14 +0000 (13:21 +1100)]
Fix TestUnmountWedged test on OSX
Matt Joiner [Sat, 10 Jan 2015 13:17:25 +0000 (00:17 +1100)]
Fix comment