2
0
mirror of synced 2025-02-23 06:08:07 +00:00

185 Commits

Author SHA1 Message Date
Matt Joiner
613470861e
Ditch lispad/go-generics-tools for anacrolix/generics/heap
Fixes https://github.com/anacrolix/torrent/issues/859
2023-08-16 21:02:01 +10:00
Matt Joiner
4fdfcf8da2
Get go-libutp fix for go1.21 2023-07-23 16:11:36 +10:00
Matt Joiner
8d527a8274
Test and fix closed sqlite storage panicking during piece hashing 2023-06-26 10:24:06 +10:00
Matt Joiner
c28f3014ff
Fix UseSources panicking when sqlite storage is closed 2023-06-23 22:14:38 +10:00
Matt Joiner
737bffb73f
Fix filecache issues on Windows 2023-05-28 00:41:36 +10:00
Matt Joiner
4070018ebb
Fix test failure using missinggo filecache on Windows 2023-05-28 00:41:35 +10:00
Matt Joiner
6c831fef83
Make fs a separate module 2023-05-28 00:41:35 +10:00
Matt Joiner
1c1f47555b
Fix ClientConfig.Logger.SetHandlers being clobbered
Fixes https://github.com/anacrolix/torrent/issues/837.
2023-05-24 11:58:57 +10:00
Matt Joiner
cd3ab72272
Tweak logging 2023-05-18 21:25:58 +10:00
Matt Joiner
06a1aa0769
Synchronize holepunch connect messages with existing rendezvous 2023-05-09 15:45:50 +10:00
Matt Joiner
1e13625c73
Misc debug status, pex conn tracking improvements 2023-05-01 10:19:24 +10:00
dependabot[bot]
81201050bc
Bump golang.org/x/net from 0.5.0 to 0.7.0 (#819)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 16:06:17 +11:00
dependabot[bot]
ceb7b2443a
Bump github.com/pion/dtls/v2 from 2.1.5 to 2.2.4 (#814)
Bumps [github.com/pion/dtls/v2](https://github.com/pion/dtls) from 2.1.5 to 2.2.4.
- [Release notes](https://github.com/pion/dtls/releases)
- [Commits](https://github.com/pion/dtls/compare/v2.1.5...v2.2.4)

---
updated-dependencies:
- dependency-name: github.com/pion/dtls/v2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 08:15:15 +11:00
Matt Joiner
d47739db0c
Roaring bitmap tests now pass when run from downstream 2023-01-24 08:52:49 +11:00
Matt Joiner
8c267645bf
Update tidwall/btree 2022-12-31 13:25:00 +11:00
a
48ad1a8aca
update deps (#794) 2022-12-22 11:07:40 +11:00
Matt Joiner
93f911ed01
Metadata size handling and DHT logging noise 2022-11-24 10:33:06 +11:00
Matt Joiner
c8ccd1c1b0
Update github.com/anacrolix/dht/v2 2022-09-18 11:26:58 +10:00
Matt Joiner
660d4dfba6
cmd/torrent: Use tracing SDK 2022-07-12 16:15:49 +10:00
Matt Joiner
c17018d04e
Add tracing to webtorrent webrtc resources 2022-07-12 16:15:49 +10:00
Matt Joiner
240b42fd56
cmd/torrent create: Add piece length and private options 2022-07-12 16:12:02 +10:00
Matt Joiner
a87f321f37
Update anacrolix/bargle 2022-07-12 16:00:52 +10:00
Matt Joiner
5c2f1ed307
Track latest bargle 2022-07-12 16:00:51 +10:00
Matt Joiner
b58aec9ca8
go get -u ./... && go mod tidy 2022-07-03 21:56:42 +10:00
FIGBERT
fcfc5bb923
Update tidwall/btree (0.7.2 -> 1.3.1) (#757) 2022-06-22 14:16:20 +10:00
Matt Joiner
32cdaf4ada
Update anacrolix/generics 2022-06-21 08:51:33 +10:00
Matt Joiner
1a3508bcbd
Update github.com/frankban/quicktest 2022-06-14 16:02:03 +10:00
Alex Sharov
061407fbc4
github.com/edsrzf/mmap-go v1.1.0 2022-06-14 15:57:08 +10:00
Matt Joiner
39bd8fc5a0
Use reusable roaring iterators 2022-05-12 10:42:16 +10:00
Matt Joiner
9eb80abc29
Switch requestState to be a slice 2022-05-12 10:34:28 +10:00
Matt Joiner
5fe7007d34
Update ajwerner/btree 2022-05-09 12:53:47 +10:00
Matt Joiner
660d73eb9c
cmd/torrent: Improve context error handling 2022-05-09 12:51:02 +10:00
Matt Joiner
e90037216c
Use a generic heap implementation for request selection 2022-05-09 12:05:50 +10:00
Matt Joiner
a54d2d81e4
Retain peer local request ordering 2022-05-09 12:05:50 +10:00
Matt Joiner
1f6b23d995
cmd/torrent: Export Prometheus metrics 2022-04-28 09:45:49 +10:00
Matt Joiner
d0dd0a4057
Update anacrolix/envpprof 2022-04-08 14:12:23 +10:00
Matt Joiner
e801f8518f
Merge branch 'go1.18' 2022-03-17 15:16:04 +11:00
Matt Joiner
32d89830ed
Use generic pubsub 2022-03-17 14:55:55 +11:00
Matt Joiner
c39a7d3012
go1.18 2022-03-17 13:56:23 +11:00
Matt Joiner
361300cc93
Merge branch 'master' into crawshaw 2022-03-11 14:23:13 +11:00
Matt Joiner
91ecb1f0aa
Pull GO_LOG support from anacrolix/log 2022-03-11 13:56:41 +11:00
Matt Joiner
ef3a53d2e4
Pull GO_LOG support from anacrolix/log 2022-03-11 13:32:45 +11:00
Matt Joiner
bf81f4a528 Merge branch 'http-proxying' into crawshaw 2022-02-25 19:59:47 +11:00
Matt Joiner
0e4546b738 Add scrape subcommand to cmd/torrent 2022-02-20 16:16:57 +11:00
FIGBERT
7d41b9b21c
Pass client logger to anacrolix/go-libutp sockets (#722)
* Update anacrolix/go-libutp (v1.1.0 -> v1.2.0)

* Pass client logger to anacrolix/go-libutp

* Pass logger instead of option

The project now compiles properly when CGO is not enabled.

Additionally, the new argument (now log.Logger instead of
utp.NewSocketOpt) is now required. The tests have been updated to match
this change, and now pass logger.Default to NewUtpSocket.

* Correct function signature of NewUtpSocket
2022-02-15 16:18:32 +11:00
Matt Joiner
06d87cb235 Merge branch 'master' into go1.18 2022-02-10 12:50:16 +11:00
Matt Joiner
47a15797a4 Exclusively use crawshaw instead of zombiezen for sqlite
Zombiezen doesn't support as many platforms as crawshaw for example.
2022-02-10 10:22:39 +11:00
Matt Joiner
aa3569b863 Pull webrtc SCTP Transport wasm support 2022-02-09 14:12:42 +11:00
Matt Joiner
a324fbfee3 Make use of the lazylog branch of anacrolix/log
This avoids significant allocations and overhead.
2022-01-31 17:22:36 +11:00
Matt Joiner
52e793ff6d Resolve deps 2022-01-23 14:59:31 +11:00