Matt Joiner
|
054ff25f7c
|
Add CircleCI 2.0 turd
Adds tests for https://github.com/anacrolix/utp/issues/24, and mobile on the master branch. The UDP tracker test uses udp4 because of some bad behaviour on CircleCI.
|
2017-08-27 02:10:17 +10:00 |
Matt Joiner
|
eb32bb821a
|
fs: Add a test script
|
2017-08-26 13:25:27 +10:00 |
Matt Joiner
|
625cca3b6f
|
fs: Move fileNode stuff into its own file
|
2017-08-26 13:25:04 +10:00 |
Matt Joiner
|
a8a1ea755d
|
Remove unused functions
|
2017-08-26 13:23:04 +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
|
b2d2c524c6
|
Fix sync.Mutex copy by value
Found by go vet, per https://github.com/anacrolix/torrent/issues/179.
|
2017-08-25 16:36:34 +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
|
97cb41a5c9
|
Provide default starting nodes to DHT if default torrent client config is used
https://github.com/anacrolix/torrent/issues/178
|
2017-08-18 11:14:28 +10:00 |
Matt Joiner
|
76c60ffa77
|
Try a state-delta function for updating request state
Also adds Torrent.networkingEnabled, though it isn't yet useful.
|
2017-08-18 01:51:02 +10:00 |
Matt Joiner
|
493916c279
|
Rename Torrent.connHasWantedPieces->connection.peerHasWantedPieces
|
2017-08-18 01:48:19 +10:00 |
Matt Joiner
|
4adee001f7
|
No longer wanting a piece wasn't triggering an update of connection request state
Pretty minor, but it would leave connections hanging in the interested state.
|
2017-08-18 01:44:20 +10:00 |
Matt Joiner
|
11aabc5a85
|
Tidy the next announce tracker status field
|
2017-08-17 01:18:18 +10:00 |
Matt Joiner
|
e34681d5d5
|
Accept racy result in keep alive test
|
2017-08-16 17:05:34 +10:00 |
Matt Joiner
|
170bb72c34
|
Augment dialed connection timeouts with context.Context
Works toward a dial timeout for half open connections. https://github.com/anacrolix/torrent/issues/169
|
2017-08-16 17:05:05 +10:00 |
Matt Joiner
|
9bec8f6a95
|
Use net.Dialer for TCP
|
2017-08-16 15:48:30 +10:00 |
Matt Joiner
|
8317417910
|
Use DialContext instead of DialTimeout with utp
|
2017-08-16 15:35:17 +10:00 |
Matt Joiner
|
2d59d48015
|
Some tidying in Client.dialFirst
|
2017-08-16 10:32:25 +10:00 |
Matt Joiner
|
74f845af4e
|
Remove dht-ping from the README
|
2017-08-16 10:28:07 +10:00 |
Matt Joiner
|
5099d8e33f
|
DHT bootstrap is not asynchronous
|
2017-08-10 11:18:48 +10:00 |
Matt Joiner
|
c0dd0f63a1
|
Fix test
|
2017-08-07 22:11:25 +10:00 |
Matt Joiner
|
bbd63962ba
|
Merge branch 'master' into dht-cleanup
|
2017-08-07 17:59:49 +10:00 |
Matt Joiner
|
f7d82e0bc7
|
Remove dht cmds, they're added to anacrolix/dht
|
2017-07-21 00:41:12 +10:00 |
Matt Joiner
|
2624281842
|
Changes for dht-cleanup
|
2017-07-21 00:40:49 +10:00 |
Matt Joiner
|
99b3f98e3e
|
Remove dht cmds, they're added to anacrolix/dht
|
2017-07-21 00:39:28 +10:00 |
Matt Joiner
|
95c89e96ba
|
Merge pull request #167 from mlmhl/mmap
bug fix: initial infoHash for mmapStoragePiece
|
2017-07-11 23:16:52 +10:00 |
mlmhl
|
edcb9deb95
|
bug fix: initial infoHash for mmapStoragePiece
|
2017-07-10 19:33:39 +08:00 |
Matt Joiner
|
cd20c2df36
|
Fix handling of infohash as hex in Torrent.String
|
2017-07-01 16:02:06 +10:00 |
Matt Joiner
|
824441efa0
|
Move logging inside client lock, for Torrent.String
Fixes #163
|
2017-07-01 16:01:38 +10:00 |
Matt Joiner
|
73b45079b3
|
Merge pull request #165 from mlmhl/dht
Do not add nodes if dht is disabled
|
2017-06-29 19:33:04 +10:00 |
mlmhl
|
6286c11bed
|
Do not add nodes if dht is disabled
|
2017-06-29 14:28:07 +08:00 |
Matt Joiner
|
ae8b03d586
|
Use go-libutp if cgo is enabled
|
2017-06-16 18:08:24 +10:00 |
Matt Joiner
|
cc17c8a54c
|
metainfo URL list can be a string or list
|
2017-06-16 17:07:30 +10:00 |
Matt Joiner
|
582d749f69
|
iplist: Add TODO to allow unmapping
|
2017-06-11 20:09:40 +10:00 |
Matt Joiner
|
ac0af8e3f6
|
Merge pull request #161 from mlmhl/event
signal an event when torrent closed
|
2017-06-05 20:47:58 +10:00 |
mlmhl
|
a3d231cb92
|
signal an event when torrent closed
|
2017-06-05 08:46:50 +08:00 |
Matt Joiner
|
77e81061f5
|
Merge pull request #159 from elgatito/helpers_add
added few helper functions
|
2017-06-02 17:04:01 +10:00 |
Denis Kuzmenok
|
8cae956528
|
added few helper functions: t.PieceBytesMissing, r.CurrentPos, r.SetNonResponsive
|
2017-06-02 07:46:28 +03:00 |
Matt Joiner
|
49648b9ae1
|
Close implicit Client default storage on Client.Close
Fixes #158
|
2017-06-01 22:57:08 +10:00 |
Matt Joiner
|
54764254f4
|
Skip on fusermount failure
|
2017-06-01 15:39:44 +10:00 |
Matt Joiner
|
c2f77fc84a
|
Make bolt completion DB directory if necessary
|
2017-06-01 11:20:50 +10:00 |
Matt Joiner
|
714a72cdd4
|
Tighten FUSE test skipping
|
2017-06-01 11:19:45 +10:00 |
Matt Joiner
|
296ef76c36
|
Tidy up the duplicate conn selection code
|
2017-05-26 13:00:28 +10:00 |
Matt Joiner
|
43a573d46f
|
Move File.State lock to top of function
|
2017-05-26 13:00:28 +10:00 |
Matt Joiner
|
5bde8de95d
|
perf.Timer.Stop renamed
|
2017-05-26 13:00:28 +10:00 |
Matt Joiner
|
40289e12c5
|
Merge pull request #156 from mlmhl/completion
make completion configurable
|
2017-05-25 16:39:03 +10:00 |
mlmhl
|
d8c7f37d2b
|
make pieceCompletion configurable
|
2017-05-22 10:23:37 +08:00 |
Matt Joiner
|
8df5221fc8
|
Merge pull request #154 from mlmhl/connection
bug fix: race condition between outgoing connection and incoming conn…
|
2017-05-17 19:22:14 +10:00 |
luffyma(马林)
|
d8023a5e39
|
bug fix: race condition between outgoing connection and incoming connection
|
2017-05-10 18:31:19 +08:00 |
Matt Joiner
|
58a24196ce
|
Merge pull request #153 from joelanford/master
Add public methods for torrent peer counts
|
2017-04-25 10:39:44 +10:00 |