Matt Joiner
3ae66f3693
cmd/tracker-announce: Add a port flag
2018-08-13 20:27:42 +10:00
Matt Joiner
975fa8f143
cmd/tracker-announce: Provide a http.Client for announces
2018-08-13 20:27:16 +10:00
Matt Joiner
8b4a4193a8
cmd/tracker-announce: Was using empty AnnounceRequest
2018-08-13 20:26:47 +10:00
jb
5a09866db4
attempt to close the client on signal
2018-07-24 09:34:06 +02:00
Matt Joiner
a7e338a3f1
More sortimports
2018-07-07 11:40:06 +10:00
Matt Joiner
2b1068885c
cmd/torrent-metainfo-pprint: Use bufio input and enable envpprof
2018-06-17 16:20:02 +10:00
Matt Joiner
cee8e3b9f9
Update external use of ClientConfig
2018-06-16 16:33:40 +10:00
Matt Joiner
37fc800cb1
cmd/torrent: Add -stats flag
...
Requires updated tagflag package.
2018-06-06 00:40:03 +10:00
Matt Joiner
b5df073217
Support different hosts for each network
...
CircleCI's localhost hostname doesn't resolve for IPv6.
2018-04-12 15:06:53 +10:00
Matt Joiner
319e57d1c6
Rework conns to/and allow multiple DHT servers
...
This will help with #229 , and IPv6 support.
2018-04-12 11:41:07 +10:00
Matt Joiner
5a7c4fc135
cmd/torrent: Add packed-blocklist flag
2018-02-19 16:20:31 +11:00
Matt Joiner
7a7f468d9d
cmd/tracker-announce: Rework to be faster and support UDP IPv6
2018-02-19 16:20:08 +11:00
Matt Joiner
358c6c8649
cmd/torrent: Fix logging when progress bar and stderr are the same file
2018-01-25 13:12:46 +11:00
Matt Joiner
ddd1e90d45
Fix cmd/torrent -debug
2018-01-25 13:11:32 +11:00
Matt Joiner
0b553b296f
Add File priorities
...
Fixes #220 .
2018-01-21 22:49:12 +11:00
Matt Joiner
2f616b9d8b
megacheck and staticcheck fixes
2018-01-06 16:53:40 +11:00
Matt Joiner
7b668237bc
cmd/torrent-pick: Close file Reader
2018-01-06 16:41:05 +11:00
Matt Joiner
9b718566ba
Add File.NewReader
...
Fixes #222
2018-01-06 16:37:13 +11:00
Denis Kuzmenok
455a414204
adding http user-agent setters and usage
2017-12-28 10:47:51 +02:00
Matt Joiner
4190856b6c
sortimports
2017-12-01 18:12:29 +11:00
Matt Joiner
8f7720edb2
Merge commit '6ab65a49a8a72dea1a28968b2ab42a85fd4566ec'
...
# Conflicts:
# config.go
2017-11-08 20:23:15 +11:00
Matt Joiner
f960ec1b65
cmd/torrent-metainfo-pprint: Just take a single metainfo to stdin
...
Move processing into its own function too.
2017-11-08 19:33:05 +11:00
themihai
6ab65a49a8
feat(config): Allows the torrent client to customise the client identity and connection config
2017-11-07 20:14:13 +02:00
Matt Joiner
2ab850f56e
cmd/torrent-metainfo-pprint: Include metainfo's url-list in output
...
Helps with testing #197 .
2017-10-14 16:41:14 +11:00
Matt Joiner
881f1a7e35
Support plaintext crypto method for protocol header encryption
2017-09-13 18:20:20 +10:00
Matt Joiner
016b238cc5
cmd/torrent: Enhance debugging
2017-09-01 10:35:40 +10:00
Matt Joiner
756375879b
cmd/torrent: Include global dht starting nodes
2017-08-28 20:54:37 +10:00
Matt Joiner
4ffcd9f1ce
cmd/torrentfs: Switch to tagflag and rename -torrentPath->-metainfoDir
2017-08-27 12:25:51 +10:00
Matt Joiner
6268fa0b54
cmd/magnet-metainfo: Use tagflag
2017-08-27 11:46:06 +10:00
Matt Joiner
dfb7f5b00c
Make cmd/tracker-announce output a bit easier to consume
2017-08-26 12:38:08 +10:00
Matt Joiner
401974dd8d
dht.ServerConfig.StartingNodes is now a function
...
Additionally cmd/torrentfs uses the global bootstrap nodes for its DHT. Aids with https://github.com/anacrolix/torrent/issues/180
2017-08-25 16:28:27 +10:00
Matt Joiner
89f39b0b09
Add some debugging routes and envpprof to cmd/magnet-metainfo
...
https://github.com/anacrolix/torrent/issues/178
2017-08-18 11:14:57 +10:00
Matt Joiner
99b3f98e3e
Remove dht cmds, they're added to anacrolix/dht
2017-07-21 00:39:28 +10:00
Matt Joiner
78a8db10da
sortimports
2017-03-19 17:04:32 +11:00
Matt Joiner
b868a6b9e2
dht.Server.Announce now takes [20]byte
2017-02-07 15:01:02 +11:00
BonkaBonka
25990f44ee
Abort verify at first hash mismatch.
2017-01-03 21:44:19 -05:00
Matt Joiner
d8ca4ac92a
Rewrite cmd/torrent-verify
...
Fixes #141
2017-01-01 10:08:45 +11:00
Matt Joiner
b68d7cd08e
dht/… moved to github.com/anacrolix/dht
2016-12-14 11:43:37 +11:00
Matt Joiner
9d35196cca
cmd/torrent: Accept infohash: scheme torrents
2016-11-30 18:02:21 +11:00
Igor Shishkin
c43751cfea
Trivial HTTP support for adding torrent files by ( #126 )
...
* Trivial HTTP support for adding torrent files by
Sometimes it's really usefull to do not download
torrent file locally but simply pass HTTP link
this patch adds such ability.
Signed-off-by: Igor Shishkin <me@teran.ru>
* Fix for closing http connection after use
Signed-off-by: Igor Shishkin <me@teran.ru>
2016-10-25 19:13:06 +11:00
Matt Joiner
d4cbdc5c38
Add download rate limiting
...
Fixes #121 .
2016-10-10 17:29:39 +11:00
Meng Zhuo
23efae91e2
fix unreadable id when started
2016-09-22 12:03:59 +10:00
Meng Zhuo
c4979954e8
fix dht-server cmd won't exit after Ctrl+C
2016-09-22 12:03:53 +10:00
Matt Joiner
594053609c
Fixes for changes to metainfo.MetaInfo.UnmarshalInfo
2016-09-20 18:39:07 +10:00
Matt Joiner
7204503206
cmd/torrent: Fix progress bar for zero-length torrents
2016-09-12 17:47:07 +10:00
Ye Yin
2fba33d5a2
Pass seed option to Config for cmd/torrent
2016-08-31 17:20:20 +08:00
Matt Joiner
2a1cef7c9e
Remove the InfoEx type, and don't generate its infohash on the fly
...
Fixes #106 .
2016-08-26 20:29:05 +10:00
Matt Joiner
0bd5bcd1a5
cmd/torrentfs: Ensure unmounting occurs for some errors
...
Restructured so other errors can be handled better too.
2016-08-02 11:19:41 +10:00
ctn
a3739fc47c
torrentfs: fix panic when testPeer is not specified
2016-07-26 23:30:40 +03:00
Matt Joiner
1b3e37b9ed
cmd/torrent: Remove unused "short" tag
2016-06-18 16:02:59 +10:00