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 |
Matt Joiner
|
3581b7c15a
|
Add go.sum file
|
2018-10-18 11:11:32 +11:00 |
Matt Joiner
|
d953ebf3ca
|
Remove unused tracker.defaultClient
|
2018-10-18 11:11:17 +11:00 |
Matt Joiner
|
ad0c33a50c
|
Fix TLS handshake failures with https trackers
Fixes #276
|
2018-10-18 11:09:56 +11:00 |
Matt Joiner
|
5e3f9893f3
|
Always announce to trackers every interval, and announce earlier if short on peers
|
2018-10-18 10:35:38 +11:00 |
Matt Joiner
|
c1d583d721
|
sortimports
|
2018-10-16 20:23:43 +11:00 |
Matt Joiner
|
3ed340c0e0
|
Add a prefix to logonce logger output
|
2018-09-03 11:48:31 +10:00 |
Matt Joiner
|
d493604adc
|
Add comments to some ClientConfig fields
|
2018-09-03 11:48:11 +10:00 |
Matt Joiner
|
a8787e6632
|
Revert "Make requestStrategy 3 the default"
This reverts commit 60dd0eed53 .
|
2018-08-25 16:43:28 +10:00 |
Matt Joiner
|
4431464fd6
|
Improve tracker failure reason error
|
2018-08-13 20:28:02 +10:00 |
Matt Joiner
|
3ae66f3693
|
cmd/tracker-announce: Add a port flag
|
2018-08-13 20:27:42 +10:00 |
Matt Joiner
|
975fa8f143
|
cmd/tracker-announce: Provide a http.Client for announces
|
2018-08-13 20:27:16 +10:00 |
Matt Joiner
|
8b4a4193a8
|
cmd/tracker-announce: Was using empty AnnounceRequest
|
2018-08-13 20:26:47 +10:00 |
Matt Joiner
|
066809403a
|
Ignore unused trailing bytes in HTTP tracker responses
|
2018-08-13 20:24:15 +10:00 |
Matt Joiner
|
3ffacb117f
|
Improve log message
|
2018-08-08 11:26:00 +10:00 |
Matt Joiner
|
e76f7fe571
|
Replace glycerine/goconvey with smartystreets/goconvey
It went missing, and some dependency wants it.
|
2018-07-30 12:43:51 +10:00 |
Matt Joiner
|
85a26c7d32
|
Merge branch 'master' into vgo-ci
|
2018-07-29 19:52:41 +10:00 |
Matt Joiner
|
0fdd31b6f3
|
Go module install/get make no sense
|
2018-07-27 10:44:26 +10:00 |
Matt Joiner
|
81e6061a53
|
When Accept gives an error, don't use the Conn
|
2018-07-27 10:18:56 +10:00 |
Matt Joiner
|
7ab51ee283
|
Use go run instead of godo
|
2018-07-25 20:34:19 +10:00 |
Matt Joiner
|
68bf3cb34b
|
And install godo too
|
2018-07-25 19:24:00 +10:00 |
Matt Joiner
|
823e810d8b
|
I think go get becomes go install for arbitrary commands
|
2018-07-25 19:10:08 +10:00 |
Matt Joiner
|
5baf7e0e4a
|
Use go modules
|
2018-07-25 18:57:49 +10:00 |
Matt Joiner
|
e8a4a52e00
|
Update go.mod
|
2018-07-25 18:27:43 +10:00 |
Matt Joiner
|
2f14e5dbc0
|
Track received handshake encryption activity
|
2018-07-25 17:11:56 +10:00 |
Matt Joiner
|
2940f27f9f
|
Use the new firewall callback support in go-libutp
|
2018-07-25 17:11:09 +10:00 |
Matt Joiner
|
6dd3b9c12c
|
Law of Demeter Client.mu
|
2018-07-25 13:42:28 +10:00 |