Commit Graph

115 Commits

Author SHA1 Message Date
Matt Joiner 8a98866d06 Pull in go-libutp fix for race 2020-07-10 13:24:08 +10:00
Matt Joiner dd51e99b88 Update bbolt 2020-06-19 12:24:03 +10:00
Matt Joiner 62e7f29a0c Fix panic in webseed request rejection logging
Also use a new helper in Logger to simplify things.
2020-06-04 11:51:17 +10:00
Matt Joiner 4eee1ba261 Fix benchmark failing due to mainReadLoop returning io.EOF 2020-05-03 19:31:20 +10:00
Matt Joiner 8b6c26b912 Pull fix to panic in pion/ice
https://github.com/pion/ice/issues/182
2020-05-03 18:51:09 +10:00
Matt Joiner 658422e584 go get -u ./... && go mod tidy
Not including bazil.org/fuse though.
2020-05-03 14:10:46 +10:00
Matt Joiner cad8802e9c Update all dependencies 2020-04-23 13:09:27 +10:00
Matt Joiner 8c8c799612 Update to the most recent bazil.org/fuse that supports MacOS 2020-04-23 11:26:22 +10:00
Matt Joiner 0ab6d108be Pool webtorrent tracker websockets at the Client level 2020-04-21 18:08:43 +10:00
Matt Joiner 4045e235a8 Update anacrolix/missinggo/v2 import 2020-04-20 13:41:32 +10:00
Matt Joiner 520d3c38e3 Fix some webtorrent PeerConnection leaks 2020-04-20 10:21:31 +10:00
Matt Joiner 48bea90f0a Pull anacrolix dht and upnp log level handling updates 2020-04-16 17:51:57 +10:00
Matt Joiner d05ce2d274 Update anacrolix/log 2020-04-16 17:20:58 +10:00
Matt Joiner 8f04efa2db Fix panic in status for webrtc connections 2020-04-13 14:08:32 +10:00
Matt Joiner d592d139bf Update anacrolix/tagflag 2020-04-11 13:03:23 +10:00
Matt Joiner fe2fb69ed8 Import code https://github.com/backkem/gowttest 2020-04-05 13:55:14 +10:00
Matt Joiner 7175dba614 Fix bbolt compatibility with go1.14 2020-03-24 12:55:03 +11:00
Matt Joiner c83738f3f4 Update to latest anacrolix/dht 2020-03-17 13:47:53 +11:00
Matt Joiner 7fe199992c Use stable bit set for pending pieces PriorityBitmap
Fixes #382.
2020-02-27 18:33:44 +11:00
Matt Joiner ddddc63924 Expose PeerConn.PeerPieces
Fixes #375.
2020-02-21 11:51:24 +11:00
Matt Joiner 737596d3df go get -u && go mod tidy 2020-01-23 14:16:46 +11:00
Matt Joiner ff8ce944e9 Upgrade github.com/pkg/errors@v0.9.0 2020-01-14 15:42:27 +11:00
Matt Joiner 2559af0f9c Extract the request timeout stuff into requestStrategyThree 2020-01-14 10:51:09 +11:00
Matt Joiner 31fdcb3463 Update missinggo 2020-01-14 10:51:09 +11:00
Matt Joiner 6cc65683e5 Revert to log v0.4.0 2020-01-04 16:43:15 +11:00
Matt Joiner 01f9fdb921 Upgrade to log v0.5.0 2020-01-03 15:37:08 +11:00
Matt Joiner 76f1516d3a Update dht to v2.3.1
Fixes a race in bootstrap stats.
2019-12-29 13:00:20 +11:00
Matt Joiner d4e90519e6 Use new anacrolix/multiless, and incorporate Peer.Trusted into peer prioritization 2019-12-23 14:04:07 +11:00
Matt Joiner 61fa4bf51f Update deps 2019-11-28 12:51:25 +11:00
Matt Joiner a298d295b2 Use latest golang.org/x/time
Includes rate.Limiter.SetBurst{,At}.
2019-11-07 08:56:56 +11:00
Matt Joiner 83867dbbe9 Move entirely to etcd-io/bbolt 2019-11-04 09:19:07 +11:00
Matt Joiner d71f2175c4 Moved to anacrolix/stm 2019-11-03 13:04:46 +11:00
Matt Joiner 94dfd312f0 Use stm versions of dht and missinggo, and use anacrolix/stm 2019-11-02 22:41:53 +11:00
Matt Joiner 0aef469a4c Use missinggo/v2/conntrack 2019-11-02 22:35:57 +11:00
Matt Joiner 93de711d42 Update dht to include interface change to OnAnnouncePeer 2019-10-17 17:46:09 +11:00
Matt Joiner e7bd5c2991 Replace github.com/boltdb/bolt with github.com/etcd-io/bbolt 2019-10-12 11:07:49 +11:00
Matt Joiner 4f7eaba788 Update dht to include the logging fixes 2019-10-04 12:32:12 +10:00
Matt Joiner 2885426e7e Prefix torrent logger message text 2019-10-01 21:16:02 +10:00
Matt Joiner 1a4eb45d4d go mod tidy 2019-09-13 10:48:55 +10:00
Matt Joiner 6c8c4a6518 Pass logger to DHTs 2019-09-13 08:46:30 +10:00
Matt Joiner eb4dad73ae Lots of improvements to logging 2019-08-22 13:59:04 +10:00
Matt Joiner 5a2c1c9b76 Upgrade to simplified logger 2019-08-21 20:44:12 +10:00
Matt Joiner fb8c549e9d Add mse/cmd/mse 2019-08-18 16:52:00 +10:00
Matt Joiner 03bac6e6b7 go mod tidy 2019-08-15 10:21:00 +10:00
Matt Joiner 9224303c1e Update all imports of dht to v2 2019-08-10 18:46:07 +10:00
Matt Joiner 338287486f Always return errors when handshakes or dialing fails
I intend to use xerrors-style error handling for special cases.
2019-07-19 16:15:46 +10:00
Matt Joiner 219ac4ab42 go mod tidy 2019-07-17 18:17:05 +10:00
Matt Joiner b17f0119fd Use fork of elgatito/upnp that contains go module files
Avoids persistent `go: finding github.com/op/go-logging latest` when using vgo.
2019-07-17 18:03:56 +10:00
Matt Joiner 77074b772a Use tagged github.com/gosuri/uiprogress, and update uilive indirect dep
Messing with the combined progress bar and logging output in cmd/torrent and hoping it is improved.
2019-07-17 18:00:40 +10:00
Matt Joiner e56ea362d9 vgo get -u && go mod tidy 2019-07-16 11:08:17 +10:00
Matt Joiner 4ea8a70a05 vgo get -u 2019-03-19 20:43:51 +11:00
Matt Joiner 67e26dd944 vgo mod tidy 2019-03-19 20:35:06 +11:00
Matt Joiner 8e68d6500b Add github.com/spaolacci/murmur3 indirect 2019-03-19 19:09:31 +11:00
Matt Joiner df47e3aaef Update missinggo and dht 2019-03-11 11:51:29 +11:00
Matt Joiner 376c669445 Update to missinggo v0.2.0 2019-03-03 14:40:49 +11:00
Matt Joiner f1e4840959 Avoid allocating a slice when iterating pending chunks 2019-02-19 14:41:52 +11:00
Matt Joiner 2e3281421f go mod tidy 2019-02-19 14:38:31 +11:00
Matt Joiner d6b2152ecc go.mod: Require dht with krpc.Msg.Token change 2019-01-21 22:59:13 +01:00
Matt Joiner ee5a941203 Switch entirely to anacrolix/log 2019-01-15 18:18:30 +00:00
Matt Joiner 227c6251ee Update go mod turds 2019-01-08 15:45:25 +11:00
Matt Joiner f8d827e7d6 Update go module files 2018-11-28 10:32:53 +11:00
Matt Joiner 35642c832b Update go module files 2018-11-21 17:25:09 +11:00
Matt Joiner 58d9718ea8 Update go module files 2018-11-21 17:04:27 +11:00
Matt Joiner 41a9344a58 Update missinggo dep 2018-11-19 21:03:33 +11:00
Matt Joiner 3581b7c15a Add go.sum file 2018-10-18 11:11:32 +11:00