2
0
mirror of synced 2025-02-23 14:18:13 +00:00

3516 Commits

Author SHA1 Message Date
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
Pavel Tatarskiy
e6a38b1cd1
fixes anacrolix/torrent#795 (#807) 2023-05-19 14:23:34 +10:00
Matt Joiner
56c8b396f5
Add doc comment for Torrent.BytesMissing
Fixes https://github.com/anacrolix/torrent/issues/828.
2023-05-19 14:18:24 +10:00
Matt Joiner
8ac9ea890e
Don't panic if changing interest fills the write buffer
This was the old behaviour, years ago. I don't know why it's suddenly being triggered lately.
2023-05-19 14:09:27 +10:00
Matt Joiner
c3622dea3d
Fix TestSeedAfterDownloading when cgo is disabled 2023-05-19 12:33:54 +10:00
Matt Joiner
d27d1c809e
Skip test failures due to Go uTP implementation 2023-05-19 12:33:54 +10:00
Matt Joiner
11af55fa0b
Retry some utp tests on failure 2023-05-19 12:33:54 +10:00
Matt Joiner
cd3ab72272
Tweak logging 2023-05-18 21:25:58 +10:00
Matt Joiner
f45365fd98
Ignore dial rate limits for holepunch connects 2023-05-18 11:38:10 +10:00
Matt Joiner
6b18583a06
Add ClientConfig.DialRateLimiter, handle dial rate limiting errors 2023-05-18 10:41:51 +10:00
Matt Joiner
9352f6cf8e
Don't start another holepunch rendezvous if we're handling one 2023-05-18 10:26:00 +10:00
Matt Joiner
92bba56b87
Relax TestTcpSimultaneousOpen 2023-05-18 09:46:08 +10:00
Matt Joiner
5d4bbd8dda
Improve test assertion for Linux 2023-05-17 13:45:18 +10:00
Matt Joiner
9d32240942
Switch Go CI to go1.20 2023-05-17 12:26:34 +10:00
Matt Joiner
f643521f1d
Fix overflow in average download rate 2023-05-17 12:13:16 +10:00
Matt Joiner
5f2b09a818
Use netip.AddrPort in PEX code and filter unusable addrs much sooner 2023-05-16 17:55:53 +10:00
Matt Joiner
9be2500729
Include PeerConn prefix for log messages 2023-05-16 16:35:26 +10:00
Matt Joiner
3a92268f10
Handle more PeerRemoteAddr variants when calculating dial addr
This should fix https://github.com/anacrolix/torrent/issues/820.
2023-05-16 16:35:03 +10:00
Matt Joiner
044be4820f
gorond test files 2023-05-12 13:47:47 +10:00
Matt Joiner
0b6209062d
Add holepunching stats and tests 2023-05-12 13:47:24 +10:00