Matt Joiner
|
ee5a941203
|
Switch entirely to anacrolix/log
|
2019-01-15 18:18:30 +00:00 |
Matt Joiner
|
5a7c78ce15
|
Merge branch 'ci'
|
2019-01-15 17:56:11 +00:00 |
Matt Joiner
|
c9f4078224
|
Cache go master, use existing go for bootstrap, and tighten some cache keys
|
2019-01-09 19:55:55 +11:00 |
Matt Joiner
|
fa4dbacd79
|
Cache the GOCACHE
Go mod doesn't store build artifacts in $GOPATH/pkg anymore.
|
2019-01-09 12:25:06 +11:00 |
Matt Joiner
|
8dc4f1c81f
|
Cache the entire go pkg folder
|
2019-01-09 11:23:07 +11:00 |
Matt Joiner
|
84132ba242
|
Time the module downloads
|
2019-01-09 11:21:49 +11:00 |
Matt Joiner
|
beeec3c475
|
Manually add modules that refuse to be added automatically
|
2019-01-09 10:47:19 +11:00 |
Matt Joiner
|
cd06ab16ac
|
tracker: Fix network error handling in unit test
|
2019-01-08 19:21:15 +11:00 |
Matt Joiner
|
0047eefef4
|
tracker: Fix network error handling in unit test
|
2019-01-08 19:20:53 +11:00 |
Matt Joiner
|
885af9d29d
|
Change the go-mod cache key and path
|
2019-01-08 18:57:15 +11:00 |
Matt Joiner
|
40d1fbc685
|
Break up compiling go master into different steps
|
2019-01-08 17:07:11 +11:00 |
Matt Joiner
|
26983bb031
|
Fix yaml formatting
What a stupid format.
|
2019-01-08 16:59:49 +11:00 |
Matt Joiner
|
53358d32be
|
Add pkg/mod caching
|
2019-01-08 16:57:33 +11:00 |
Matt Joiner
|
1105d6582c
|
Add extra go debug steps
|
2019-01-08 16:37:40 +11:00 |
Matt Joiner
|
3a03725b57
|
Get deps in a separate step
|
2019-01-08 16:31:26 +11:00 |
Matt Joiner
|
ba9300e27e
|
cmd/torrent: Add -publicIp flag
|
2019-01-08 15:47:01 +11:00 |
Matt Joiner
|
366ead7d65
|
Switch to Client read locks for a few methods
|
2019-01-08 15:46:03 +11:00 |
Matt Joiner
|
227c6251ee
|
Update go mod turds
|
2019-01-08 15:45:25 +11:00 |
Matt Joiner
|
cc531b8c4a
|
Improve bootstrap result log message
|
2018-11-29 18:33:33 +11:00 |
Matt Joiner
|
2789a4ff39
|
tracker: Fix some comments
|
2018-11-28 12:02:25 +11:00 |
Matt Joiner
|
3e3f2e4128
|
tracker: Add Announce.Context
Use it to rewrite a test that fails with recent go versions due to logging after test completion.
|
2018-11-28 12:02:12 +11:00 |
Matt Joiner
|
f8d827e7d6
|
Update go module files
|
2018-11-28 10:32:53 +11:00 |
Matt Joiner
|
6bb761ab6d
|
Simplify single case select
|
2018-11-28 10:32:44 +11:00 |
Matt Joiner
|
d9fe3f50d3
|
Discount dial errors that won't affect connection tracking
This will reduce pressure on the conntrack instance.
|
2018-11-28 10:32:08 +11:00 |
Matt Joiner
|
d9e1ebde70
|
Improve network handling and only listen networks we will use
Fixes #290.
|
2018-11-28 10:30:21 +11:00 |
Matt Joiner
|
70f63b2991
|
Remove unused type
|
2018-11-28 10:26:13 +11:00 |
Matt Joiner
|
3ba991e38a
|
Remove unused code
|
2018-11-27 23:57:17 +11:00 |
Matt Joiner
|
33006eeb20
|
Use new conntrack priorities
Fixes #295
|
2018-11-27 23:22:24 +11:00 |
Matt Joiner
|
a0d0c64e4f
|
metainfo: Fix test
[]byte(nil) now correctly bencodes to a string
|
2018-11-27 11:05:32 +11:00 |
Matt Joiner
|
e236cbf145
|
bencode: Fix marshalling of []byte(nil)
Also fixes #293.
|
2018-11-27 08:57:17 +11:00 |
Matt Joiner
|
35642c832b
|
Update go module files
|
2018-11-21 17:25:09 +11:00 |
Matt Joiner
|
3ba91c4334
|
Bump protocol strings
|
2018-11-21 17:06:31 +11:00 |
Matt Joiner
|
40d7a709ee
|
Log initial DHT bootstrap results
|
2018-11-21 17:05:56 +11:00 |
Matt Joiner
|
9bb8a327c0
|
Remove log that used missinggo.CryHeard
|
2018-11-21 17:05:30 +11:00 |
Matt Joiner
|
58d9718ea8
|
Update go module files
|
2018-11-21 17:04:27 +11:00 |
Matt Joiner
|
f4e30656d6
|
Add initial connection tracking
|
2018-11-21 17:02:22 +11:00 |
Matt Joiner
|
41a9344a58
|
Update missinggo dep
|
2018-11-19 21:03:33 +11:00 |
Matt Joiner
|
7f133b677c
|
Improve error handling for listening
Will help with #290.
|
2018-11-19 20:35:21 +11:00 |
Matt Joiner
|
1dc406c81c
|
Move IpPort to missinggo
|
2018-11-16 10:35:30 +11:00 |
Matt Joiner
|
148bb977bc
|
connection.remoteIpPort is correct
|
2018-11-04 21:15:51 +11:00 |
Matt Joiner
|
0032b45a02
|
Store remoteAddr with each connection
It would appear net.Conns returned from proxies don't have a RemoteAddr the client expects.
|
2018-11-04 21:15:51 +11:00 |
Matt Joiner
|
f1f54ce949
|
Promote ipPort to its own file
|
2018-11-04 21:15:51 +11:00 |
Matt Joiner
|
4f5387cbbd
|
Fix benchmark broken by changes to client listeners
|
2018-11-04 17:51:32 +11:00 |
Matt Joiner
|
1a4950ad4a
|
Add default DHT servers when UTP disabled
Also ensures that UDP and TCP sockets are reserved, even if not used, and fixes tests. Fixes #289.
|
2018-11-04 17:43:47 +11:00 |
Matt Joiner
|
8a0f333bb9
|
Add test for dht servers when utp disabled
#289
|
2018-11-04 17:42:12 +11:00 |
Matt Joiner
|
9a49f4b37e
|
Add establish outgoing connection expvar
|
2018-11-04 16:12:16 +11:00 |
Matt Joiner
|
fc4fab91f5
|
Switch to goimports import sorting
Used to use sortimports, but it's old, and goimports seems to have an opinion now.
|
2018-11-02 23:12:01 +11:00 |
Matt Joiner
|
c50e59166d
|
Add dial rate limiting
Fixes #273.
|
2018-11-02 23:09:52 +11:00 |
Denis Kuzmenok
|
9dc89ab6dc
|
reverting usage of proxy for http requests
|
2018-10-31 10:54:10 +11:00 |
Matt Joiner
|
02f37a34ee
|
Fix timer leak in tracker announces when peers are wanted
Fixes #281.
|
2018-10-21 18:24:22 +11:00 |