Matt Joiner
|
d934ec7e30
|
Add some variables to track fillBuffer effectiveness
|
2017-09-01 10:36:43 +10:00 |
Matt Joiner
|
016b238cc5
|
cmd/torrent: Enhance debugging
|
2017-09-01 10:35:40 +10:00 |
Matt Joiner
|
13e79039f2
|
Generate requests, cancels and interest state in the connection writer
|
2017-08-31 23:48:52 +10:00 |
Matt Joiner
|
986b9093a0
|
Make connection.writer pull from a buffer
|
2017-08-31 16:26:45 +10:00 |
Matt Joiner
|
c4f5a49c97
|
Panics while decoding messages in connection.mainLoopRead would trigger more panics
|
2017-08-31 16:25:49 +10:00 |
Matt Joiner
|
cf022be396
|
Keep rate limited reader reads to within the burst capacity
|
2017-08-31 14:32:22 +10:00 |
Matt Joiner
|
3eb422afd0
|
Add peer_protocol.Message.MustMarshalBinary
|
2017-08-31 14:30:53 +10:00 |
Matt Joiner
|
0388ec1eee
|
Synchronize Torrent.Info
|
2017-08-29 15:16:53 +10:00 |
Matt Joiner
|
53954f7807
|
Get torrentfs fuse test working
|
2017-08-29 14:02:30 +10:00 |
Matt Joiner
|
756375879b
|
cmd/torrent: Include global dht starting nodes
|
2017-08-28 20:54:37 +10:00 |
Matt Joiner
|
6794ace27c
|
Merge branch 'fs-handle-reader'
|
2017-08-28 17:28:05 +10:00 |
Matt Joiner
|
2454120af8
|
Try to reduce allocations in cipherReader
|
2017-08-28 17:27:53 +10:00 |
Matt Joiner
|
7d55f573f5
|
Maintain a torrent.Reader for each file handle
This means that readahead will work much better. Addresses https://github.com/anacrolix/torrent/issues/182.
|
2017-08-28 01:42:02 +10:00 |
Matt Joiner
|
58d66a1b62
|
fs: Move file Read behaviour onto a new handle type
|
2017-08-27 14:19:58 +10:00 |
Matt Joiner
|
afb83e792b
|
fs/test.sh: Update torrentfs arguments and wait for info to be fetched so file isn't found
|
2017-08-27 14:03:10 +10:00 |
Matt Joiner
|
52741c2671
|
TestUnmountWedged: Don't deadlock if the Read fails
|
2017-08-27 14:00: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
|
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 |