Matt Joiner
78cd5a1c0a
Fix race in webseed requester sleep duration calculation
2023-08-22 12:53:54 +10:00
Matt Joiner
4bb8f8f836
Add ClientConfig.WebTransport
2023-08-22 12:53:54 +10:00
Matt Joiner
de3309319f
Note that torrent.Reader is not concurrent-safe
2023-08-17 18:14:46 +10:00
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
5a33552095
Remove unnecessary use of SO_REUSEPORT
...
Fixes https://github.com/anacrolix/torrent/discussions/856 .
2023-08-15 08:07:49 +10:00
Matt Joiner
8dcc4cc187
Add cove to downstream projects
2023-08-14 14:39:24 +10:00
Matt Joiner
b730a99a48
Remove torrentfs-macos job from CI
2023-07-23 16:44:39 +10:00
Matt Joiner
790fae6fa1
Ignore torrentfs-macos CI errors
2023-07-23 16:44:38 +10:00
liwei
ca5bd29a04
fix: torrent file real time completed bytes
2023-07-23 16:43:26 +10:00
Matt Joiner
4fdfcf8da2
Get go-libutp fix for go1.21
2023-07-23 16:11:36 +10:00
liwei
8229ac4b3f
fix: udp tracker panic
2023-07-10 09:13:11 +10:00
guoguangwu
7036f221f4
chore: remove refs to deprecated io/ioutil
2023-07-10 00:20:13 +10:00
guoguangwu
20f5ddb4af
chore: unnecessary use of fmt.Sprintf
2023-07-09 22:16:22 +10:00
Matt Joiner
e88aae7642
Add sqlite storage build conditions to sqlite storage closed test
...
Should fix test build failure to build when CGO is disabled.
2023-06-27 11:36:54 +10:00
Matt Joiner
050e5cbab8
Fix error unmarshalling bad metainfo nodes field
2023-06-26 19:48:23 +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
3901c3144b
Log bad tracker URL error
2023-06-06 10:40:15 +10:00
Matt Joiner
ac086bb3bd
Fix incorrect EOF when decoding some peer protocol message types
...
Hooray for pedantic fuzz tests. This was found through peer_protocol/FuzzDecoder, when I wrote a go-fuzz-all wrapper.
It probably never caused a problem in production, as EOF would be handled as stream termination anyway, but it isn't clean.
2023-05-29 19:01:01 +10:00
Matt Joiner
5380337f86
Reintroduce torrent-wide PEX throttling
...
https://github.com/anacrolix/torrent/discussions/836
2023-05-28 20:07:33 +10:00
Matt Joiner
98234f943f
Run torrentfs CI on macos
2023-05-28 16:28:50 +10:00
Matt Joiner
5efb4dd941
Attribute accepted connection to holepunching when connect message is late
...
Also perform holepunch metric adjustments sooner to reduce timing issues in tests.
2023-05-28 13:53:22 +10:00
Matt Joiner
a33b3ec554
fs/test.sh: Handle torrentfs failures synchronously
2023-05-28 13:52:50 +10:00
Matt Joiner
41e2cd5b21
gorond
2023-05-28 12:04:57 +10:00
Matt Joiner
08c403ea52
Fix logging reported in #841
2023-05-28 12:04:49 +10:00
Matt Joiner
737bffb73f
Fix filecache issues on Windows
2023-05-28 00:41:36 +10:00
Matt Joiner
3e974f17ae
fs: Update path to torrentfs
2023-05-28 00:41:36 +10:00
Matt Joiner
97fb25afdf
fs: go mod tidy
2023-05-28 00:41:36 +10:00
Matt Joiner
963c0e0f32
Fix addrPortOrZero for unix sockets on Windows
2023-05-28 00:41:36 +10:00
Matt Joiner
8e2139b335
Timeout torrentfs CI after 5 minutes
2023-05-28 00:41:36 +10:00
Matt Joiner
1849048d1d
More Windows test fixes
2023-05-28 00:41:36 +10:00
Matt Joiner
617362ddf0
go1.19 compat
2023-05-28 00:41:35 +10:00
Matt Joiner
702b2c77a0
Test fixes for Windows
2023-05-28 00:41:35 +10:00
Matt Joiner
dee985f9bd
Fixes for storage tests on Windows
2023-05-28 00:41:35 +10:00
Matt Joiner
5ba8506b3f
Add check that torrent data cleanup works in TestIssue335
...
I'm seeing a lot of leaked directories on Windows I think. This might be silently failing.
2023-05-28 00:41:35 +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
e0af603c04
Also run Go CI test job on 1.19
2023-05-28 00:41:34 +10:00
Matt Joiner
81e806a3d9
Run Go CI test job on macos and windows
2023-05-28 00:41:34 +10:00
Marco Vidonis
e7087fde56
Add WebRTC ICE servers config ( #824 )
...
* add ICEServers config
* remove unnecessary check
2023-05-27 20:27:24 +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
f13f4d9a98
Remove PEX todo
2023-05-23 21:25:36 +10:00
Matt Joiner
b18e824a6b
go1.19 compatibility
2023-05-23 20:55:30 +10:00
Matt Joiner
a8ab0baec8
Include holepunch message protocol family in metrics
2023-05-22 15:28:28 +10:00
Matt Joiner
97488efed7
Add holepunch message fuzzing
2023-05-22 15:27:06 +10:00
Matt Joiner
20743ce0b7
Add a bunch of holepunch metrics
2023-05-21 19:33:10 +10:00
Matt Joiner
17930ef460
Print peer ID in ASCII-only
2023-05-21 19:30:39 +10:00
Matt Joiner
60db110439
Fix panic logging unknown holepunch error code
2023-05-21 19:29:35 +10:00
Matt Joiner
5fa3710d7f
Report ltep extensions in status output
2023-05-19 17:10:03 +10:00
Matt Joiner
a491fdccbc
Move PeerClientName and PeerExtensionIDs to PeerConn
2023-05-19 14:41:27 +10:00