]>
 
 
Sergey Matveev's repositories - btrtrc.git/log 
 
 
 
 
 
 
Matt Joiner [Thu, 25 Jan 2018 02:14:37 +0000 (13:14 +1100)] 
 
Add some helpful comments to type PeerID 
 
Matt Joiner [Thu, 25 Jan 2018 02:14:20 +0000 (13:14 +1100)] 
 
Add very tentative UPnP NAT traversal 
 
Relates to #230 
 
Matt Joiner [Thu, 25 Jan 2018 02:12:46 +0000 (13:12 +1100)] 
 
cmd/torrent: Fix logging when progress bar and stderr are the same file 
 
Matt Joiner [Thu, 25 Jan 2018 02:11:32 +0000 (13:11 +1100)] 
 
Fix cmd/torrent -debug 
 
Matt Joiner [Thu, 25 Jan 2018 02:10:52 +0000 (13:10 +1100)] 
 
Improve some log messages 
 
Matt Joiner [Sun, 21 Jan 2018 11:49:12 +0000 (22:49 +1100)] 
 
Add File priorities 
 
Fixes #220. 
 
Matt Joiner [Fri, 12 Jan 2018 01:24:51 +0000 (12:24 +1100)] 
 
Add comment explaining Torrent.requestStrategy 
 
Matt Joiner [Fri, 12 Jan 2018 01:24:37 +0000 (12:24 +1100)] 
 
Make Torrent.pendingPieces a priority bitmap in preparation for #220 
 
Matt Joiner [Fri, 12 Jan 2018 00:09:33 +0000 (11:09 +1100)] 
 
storage: Export NewSqlitePieceCompletion 
 
Matt Joiner [Thu, 11 Jan 2018 23:45:19 +0000 (10:45 +1100)] 
 
storage: Don't check completion state on every write 
 
Matt Joiner [Thu, 11 Jan 2018 23:41:42 +0000 (10:41 +1100)] 
 
file storage: Report errors getting completion 
 
Matt Joiner [Thu, 11 Jan 2018 11:10:52 +0000 (22:10 +1100)] 
 
Clarify the PieceCompletion.Set method bool argument 
 
Matt Joiner [Thu, 11 Jan 2018 11:10:00 +0000 (22:10 +1100)] 
 
Update sqlite3 piece completion 
 
Matt Joiner [Thu, 11 Jan 2018 06:11:54 +0000 (17:11 +1100)] 
 
Fix mentions of TorrentDataOpener 
 
Matt Joiner [Tue, 9 Jan 2018 12:12:01 +0000 (23:12 +1100)] 
 
sortimports 
 
Matt Joiner [Tue, 9 Jan 2018 12:11:34 +0000 (23:11 +1100)] 
 
Use NoSync with bolt storage and piece completion 
 
Fixes terrible slowness on Linux. 
 
Matt Joiner [Tue, 9 Jan 2018 06:29:31 +0000 (17:29 +1100)] 
 
Begin restructuring testutil to support testing torrents with various properties 
 
Matt Joiner [Tue, 9 Jan 2018 06:26:46 +0000 (17:26 +1100)] 
 
Add some TODOs and tidy a test 
 
Matt Joiner [Tue, 9 Jan 2018 06:26:01 +0000 (17:26 +1100)] 
 
Screen negative pieces 
 
Should fix #228. 
 
Denis [Mon, 8 Jan 2018 00:03:34 +0000 (02:03  +0200)] 
 
fixing wrong offset in request (#226) 
 
Matt Joiner [Sun, 7 Jan 2018 09:31:10 +0000 (20:31 +1100)] 
 
Improve comments on Config.{Upload,Download}RateLimiter 
 
See #225 
 
Matt Joiner [Sun, 7 Jan 2018 08:26:24 +0000 (19:26 +1100)] 
 
File.offset wasn't applied to the reads on the Torrent 
 
Matt Joiner [Sun, 7 Jan 2018 08:24:00 +0000 (19:24 +1100)] 
 
Fix a log format string 
 
Matt Joiner [Sun, 7 Jan 2018 00:57:02 +0000 (11:57 +1100)] 
 
Improve various File related doc comments 
 
Matt Joiner [Sat, 6 Jan 2018 12:15:41 +0000 (23:15 +1100)] 
 
Readers obtained from File.NewReader should not readahead into other Files 
 
Fixes #221. Additionally Torrent.length is a pointer and isn't set until the info is available to avoid it defaulting to zero. 
 
Matt Joiner [Sat, 6 Jan 2018 05:54:17 +0000 (16:54 +1100)] 
 
Rename File.PrioritizeRegion to DownloadRegion 
 
Fixes #223 
 
Matt Joiner [Sat, 6 Jan 2018 05:53:40 +0000 (16:53 +1100)] 
 
megacheck and staticcheck fixes 
 
Matt Joiner [Sat, 6 Jan 2018 05:41:05 +0000 (16:41 +1100)] 
 
cmd/torrent-pick: Close file Reader 
 
Matt Joiner [Sat, 6 Jan 2018 05:40:35 +0000 (16:40 +1100)] 
 
Reader: Changing responsiveness should wake blocked reads 
 
Matt Joiner [Sat, 6 Jan 2018 05:39:52 +0000 (16:39 +1100)] 
 
mmap_span: Synchronize access to memory maps to avoid race when unmapping 
 
Matt Joiner [Sat, 6 Jan 2018 05:38:41 +0000 (16:38 +1100)] 
 
storage: Rename mmapStorage->mmapClientImpl 
 
Matt Joiner [Sat, 6 Jan 2018 05:37:40 +0000 (16:37 +1100)] 
 
Formatting and comments 
 
Matt Joiner [Sat, 6 Jan 2018 05:37:13 +0000 (16:37 +1100)] 
 
Add File.NewReader 
 
Fixes #222 
 
Matt Joiner [Sat, 6 Jan 2018 04:50:45 +0000 (15:50 +1100)] 
 
Make peerID a public type 
 
Wanted it applied to Client Status output 
 
Matt Joiner [Sat, 6 Jan 2018 01:34:31 +0000 (12:34 +1100)] 
 
Use peerID type more, and make its Stringer output nicer 
 
Matt Joiner [Fri, 29 Dec 2017 02:50:26 +0000 (13:50 +1100)] 
 
Add the fs test torrent to the repo 
 
Debian keep moving it. 
 
Matt Joiner [Fri, 29 Dec 2017 01:18:55 +0000 (12:18 +1100)] 
 
Update error message in metainfo.Info.writeFiles 
 
I think it was ripped out of some other code a long time ago. 
 
Matt Joiner [Fri, 29 Dec 2017 01:17:58 +0000 (12:17 +1100)] 
 
Introduce metainfo.HashSize 
 
This will be useful when BitTorrent 2 is implemented, and helps with creating arbitrary Info.Pieces 
 
Matt Joiner [Fri, 29 Dec 2017 01:16:05 +0000 (12:16 +1100)] 
 
Improve some doc comments 
 
Matt Joiner [Fri, 29 Dec 2017 01:15:33 +0000 (12:15 +1100)] 
 
Survive panics while writing chunks 
 
Also improve the comment on that code 
 
Matt Joiner [Thu, 28 Dec 2017 12:59:30 +0000 (23:59 +1100)] 
 
When queuing a piece for hashing after receiving a chunk, clear all the dirty chunks 
 
This should fix a bug triggered by storage inconsistencies. 
 
Matt Joiner [Thu, 28 Dec 2017 12:58:07 +0000 (23:58 +1100)] 
 
Improve a log message 
 
Matt Joiner [Thu, 28 Dec 2017 10:05:55 +0000 (21:05 +1100)] 
 
Merge pull request #219 from elgatito/http_user_agent 
 
adding http user-agent setters and usage 
 
Denis Kuzmenok [Thu, 28 Dec 2017 08:47:51 +0000 (10:47 +0200)] 
 
adding http user-agent setters and usage 
 
Denis [Wed, 6 Dec 2017 00:56:26 +0000 (02:56  +0200)] 
 
added disable_libutp build flag usage (#215) 
 
Matt Joiner [Sun, 3 Dec 2017 02:44:37 +0000 (13:44 +1100)] 
 
Log dropping of bad peers in debug mode only 
 
Matt Joiner [Sun, 3 Dec 2017 02:44:08 +0000 (13:44 +1100)] 
 
missinggo.LimitLen changed 
 
Matt Joiner [Sat, 2 Dec 2017 13:35:09 +0000 (00:35  +1100)] 
 
Code comments 
 
Matt Joiner [Fri, 1 Dec 2017 23:26:09 +0000 (10:26 +1100)] 
 
Test that mmap size doesn't exceed system memory address width
Should fix http://paste.ubuntu.com/
26074620 /
 
Matt Joiner [Fri, 1 Dec 2017 23:01:27 +0000 (10:01 +1100)] 
 
Fix panic in Torrent.addrActive if there are closed connections 
 
Fixes #214 
 
Matt Joiner [Fri, 1 Dec 2017 22:58:08 +0000 (09:58 +1100)] 
 
Fix the Stats panic in #214 
 
Matt Joiner [Fri, 1 Dec 2017 12:09:07 +0000 (23:09 +1100)] 
 
Synchronize access to storage 
 
Matt Joiner [Fri, 1 Dec 2017 12:08:53 +0000 (23:08 +1100)] 
 
Remove racy part of test 
 
Matt Joiner [Fri, 1 Dec 2017 07:13:21 +0000 (18:13 +1100)] 
 
Improve issue #211 test name 
 
Matt Joiner [Fri, 1 Dec 2017 07:12:29 +0000 (18:12 +1100)] 
 
sortimports 
 
Matt Joiner [Fri, 1 Dec 2017 07:11:20 +0000 (18:11 +1100)] 
 
Add test for #211 
 
Matt Joiner [Fri, 1 Dec 2017 06:58:42 +0000 (17:58 +1100)] 
 
Torrent.bytesLeft was taking a copy instead of pointer to Piece 
 
Matt Joiner [Fri, 1 Dec 2017 03:03:05 +0000 (14:03 +1100)] 
 
Publish piece state changes after verifying piece 
 
Matt Joiner [Fri, 10 Nov 2017 12:44:24 +0000 (23:44 +1100)] 
 
bencode.scanner.ReadByte returned errors when it shouldn't have 
 
Matt Joiner [Wed, 8 Nov 2017 10:34:24 +0000 (21:34 +1100)] 
 
bencode: Handle encoding big.Ints 
 
Matt Joiner [Wed, 8 Nov 2017 09:58:35 +0000 (20:58 +1100)] 
 
bencode: Tidy import block 
 
Matt Joiner [Wed, 8 Nov 2017 09:23:15 +0000 (20:23 +1100)] 
 
Merge commit '
6ab65a49a8a72dea1a28968b2ab42a85fd4566ec '
# Conflicts:
#	config.go
 
Matt Joiner [Wed, 8 Nov 2017 08:57:05 +0000 (19:57 +1100)] 
 
metainfo: Omit empty Metainfo.InfoBytes 
 
Matt Joiner [Wed, 8 Nov 2017 08:56:20 +0000 (19:56 +1100)] 
 
Torrent.Metainfo: Don't return incomplete metadata bytes 
 
Fixes #208 
 
Matt Joiner [Wed, 8 Nov 2017 08:33:05 +0000 (19:33 +1100)] 
 
cmd/torrent-metainfo-pprint: Just take a single metainfo to stdin 
 
Move processing into its own function too. 
 
Matt Joiner [Wed, 8 Nov 2017 08:31:10 +0000 (19:31 +1100)] 
 
Add a test for behaviour after getting metadata_size and before GotInfo 
 
#208 
 
Matt Joiner [Wed, 8 Nov 2017 08:29:55 +0000 (19:29 +1100)] 
 
The "m" field in the extended handshake is not mandatory 
 
Matt Joiner [Wed, 8 Nov 2017 08:29:01 +0000 (19:29 +1100)] 
 
Config.Debug isn't just for logging 
 
Matt Joiner [Wed, 8 Nov 2017 08:28:37 +0000 (19:28 +1100)] 
 
Make Client.PeerID return [20]byte 
 
Matt Joiner [Wed, 8 Nov 2017 08:28:03 +0000 (19:28 +1100)] 
 
Generalise use of peerExtensionBytes 
 
Matt Joiner [Wed, 8 Nov 2017 04:00:18 +0000 (15:00 +1100)] 
 
Move some code around 
 
themihai [Tue, 7 Nov 2017 18:14:13 +0000 (20:14 +0200)] 
 
feat(config): Allows the torrent client to customise the client identity and connection config 
 
Matt Joiner [Tue, 7 Nov 2017 13:34:59 +0000 (00:34  +1100)] 
 
Fix #205 
 
Matt Joiner [Tue, 7 Nov 2017 13:12:34 +0000 (00:12  +1100)] 
 
More megacheck 
 
Matt Joiner [Tue, 7 Nov 2017 05:11:59 +0000 (16:11 +1100)] 
 
Apply megacheck to torrent package 
 
Matt Joiner [Tue, 7 Nov 2017 05:00:08 +0000 (16:00 +1100)] 
 
Fix a lot of noisy logging and test warnings 
 
Matt Joiner [Mon, 6 Nov 2017 03:53:00 +0000 (14:53 +1100)] 
 
Unbiased request ordering was requesting chunks the peer doesn't have 
 
Matt Joiner [Mon, 6 Nov 2017 03:01:07 +0000 (14:01 +1100)] 
 
Ignore expected error 
 
Matt Joiner [Mon, 6 Nov 2017 02:42:46 +0000 (13:42 +1100)] 
 
Add a link to Trickl 
 
Matt Joiner [Sun, 5 Nov 2017 04:45:30 +0000 (15:45 +1100)] 
 
Comment on bencode.Decoder.Offset 
 
Matt Joiner [Sun, 5 Nov 2017 04:42:37 +0000 (15:42 +1100)] 
 
Expose bencode.Decoder.Offset 
 
Matt Joiner [Sun, 5 Nov 2017 04:39:00 +0000 (15:39 +1100)] 
 
Remove noisy log message 
 
Matt Joiner [Sun, 5 Nov 2017 04:38:09 +0000 (15:38 +1100)] 
 
bencode: Implement unbuffered scanner used by NewDecoder 
 
Minimizes unused reads into the input Reader stream 
 
Matt Joiner [Sun, 5 Nov 2017 04:27:21 +0000 (15:27 +1100)] 
 
Kick connections requesting pieces we don't have 
 
This was removed at some point, and made the requests received for missing pieces expvar unused. 
 
Matt Joiner [Sun, 5 Nov 2017 04:26:23 +0000 (15:26 +1100)] 
 
Add some TODOs 
 
Samuel [Sun, 5 Nov 2017 03:04:33 +0000 (03:04  +0000)] 
 
Aggressive Upload (#203) 
 
* Aggressive Upload Config 
 
* Aggressive Upload 
 
* Flip config option. 
 
* Flip Aggressive Upload Config Option 
 
Matt Joiner [Sat, 4 Nov 2017 06:08:02 +0000 (17:08 +1100)] 
 
Add missing whitespace 
 
Matt Joiner [Sat, 4 Nov 2017 06:07:42 +0000 (17:07 +1100)] 
 
mse: Move sliceIter into test file 
 
Matt Joiner [Sat, 4 Nov 2017 06:07:18 +0000 (17:07 +1100)] 
 
Improve comment on Config.UploadRateLimiter 
 
Matt Joiner [Sat, 4 Nov 2017 05:58:38 +0000 (16:58 +1100)] 
 
Improve upload rate limit burst size panic message 
 
Should help with #202. 
 
Matt Joiner [Sun, 29 Oct 2017 01:49:58 +0000 (12:49 +1100)] 
 
Fix copypasta PR ಠ_ಠ 
 
Matt Joiner [Sun, 29 Oct 2017 01:38:31 +0000 (12:38 +1100)] 
 
Merge pull request #201 from dz0ny/fix/http_client 
 
Provide trackers specific http client 
 
dz0ny [Sat, 28 Oct 2017 14:29:36 +0000 (16:29 +0200)] 
 
Provide trackers specific http client
Mainly follows https://medium.com/@nate510/don-t-use-go-s-default-http-client-
4804cb19f779 
but also disables HTTPS certificate verification.
 
Matt Joiner [Thu, 26 Oct 2017 03:25:59 +0000 (14:25 +1100)] 
 
Add a test for bdecoding consecutive dicts 
 
Matt Joiner [Sun, 22 Oct 2017 03:41:19 +0000 (14:41 +1100)] 
 
Merge pull request #198 from BruceWangNo1/patch-1 
 
Update "Other public projects using torrent" section on README.md 
 
Bruce Wang [Sat, 21 Oct 2017 12:10:29 +0000 (07:10 -0500)] 
 
Update "Other public projects using torrent" section on README.md 
 
I having been using your project for downloading torrent on my server for a couple of weeks now and it works very well. Thanks for your contribution! I used to use a simple HTTP file server to retrieve the downloaded files to my computer. As I used this cumbersome approach heavily on a daily basis, I began to implement a tool to download torrent efficiently just by running a local command with the magnet link which sends torrent download request to the server. You may find my current working prototype sloppy but please check out my project. 
 
Matt Joiner [Sat, 14 Oct 2017 05:41:14 +0000 (16:41 +1100)] 
 
cmd/torrent-metainfo-pprint: Include metainfo's url-list in output 
 
Helps with testing #197. 
 
Matt Joiner [Thu, 12 Oct 2017 06:52:26 +0000 (17:52 +1100)] 
 
Remove debug log message 
 
Matt Joiner [Thu, 12 Oct 2017 06:52:15 +0000 (17:52 +1100)] 
 
Fix fs test link now that Debian 9.2 came out 
 
Matt Joiner [Thu, 12 Oct 2017 06:51:47 +0000 (17:51 +1100)] 
 
If closing a connection Conn fails we can't do anything, and there's nothing to say