Jimmy Zelinskie
18e1599759
refresh readme to include docker
2015-10-25 15:31:24 -04:00
Jimmy Zelinskie
444c0f3973
drop Go 1.4 from travis
...
It has a weird racey timeout with the UDP tests and is old.
2015-10-25 15:31:24 -04:00
Jimmy Zelinskie
634417f80b
add api to dockerfile
2015-10-24 15:40:23 -04:00
Justin Li
a403392e76
Merge pull request #91 from chihaya/tinyfix
...
remove superfluous use of ioutil
2015-10-24 14:25:00 -04:00
Jimmy Zelinskie
d23b0167b6
remove superfluous use of ioutil
2015-10-24 12:51:09 -04:00
Jimmy Zelinskie
350cf7cdec
Merge pull request #90 from chihaya/api
...
Pull API out of HTTP
2015-10-14 13:34:45 -04:00
Jimmy Zelinskie
7cfa862f2c
decouple HTTP tests from API usage
2015-10-11 19:23:30 -04:00
Jimmy Zelinskie
1764fa4a2d
add api to config & propogate config changes
2015-10-11 19:23:30 -04:00
Jimmy Zelinskie
5f413e6e2d
add API to Boot() and clean things up
2015-10-11 19:23:30 -04:00
Jimmy Zelinskie
9add47ed07
pull API server out of http
...
Fixes #87 .
2015-10-11 19:23:30 -04:00
Jimmy Zelinskie
b07a74d9d7
Merge pull request #82 from chihaya/travis
...
travis: update to Go 1.5
2015-10-11 15:11:38 -04:00
Jimmy Zelinskie
86a77b663f
Merge pull request #89 from chihaya/gc-rate
...
config: make reaping configurable
2015-09-24 23:30:49 -04:00
Jimmy Zelinskie
c0c3eda290
config: make reaping configurable
...
This allows for configurable reaping rates and changes the default to
what many public trackers use in the wild.
2015-09-18 01:27:27 -04:00
Jimmy Zelinskie
8dbcd7079a
udp: handle default case for action switch
2015-09-13 13:10:41 -04:00
Jimmy Zelinskie
d4662312b6
chihaya: add copyright header to debug.go
2015-09-13 00:09:45 -04:00
Cooper Lees
ba97806a6c
Merge pull request #86 from chihaya/fixseeders
...
tracker: fix logic recording complete events
2015-08-26 14:05:02 -07:00
Jimmy Zelinskie
dfd59e8823
tracker: fix logic recording complete events
...
520a357
inadvertently changed the logic on how many times
leecherFinished was being called and recording completion events to the
stats. This commit makes this that clearer and avoids over incrementing
the number of Seeders in our stats.
2015-08-26 16:59:25 -04:00
Jimmy Zelinskie
7f1829dd68
stats: rename PauseNS to LatestPauseNS
2015-08-20 15:06:57 -04:00
Cooper Lees
7b4fe081d1
Merge pull request #84 from davidwilemski/gcstats
...
stats: publish last gc PauseNS
2015-08-20 12:01:49 -07:00
David Wilemski
c56a7f25f0
stats: publish last gc PauseNS
2015-08-20 11:50:06 -07:00
Jimmy Zelinskie
befd6c47d4
Merge pull request #83 from chihaya/fixports
...
http: stop using remote http port
2015-08-20 11:56:44 -04:00
Jimmy Zelinskie
c8e8b95bfe
http: stop using remote http port
...
The remote port used to send the announce has nothing to do with the
port being listened to for the torrent client protocol.
2015-08-20 11:14:02 -04:00
Jimmy Zelinskie
071dc50769
travis: update to Go 1.5
2015-08-19 13:49:03 -04:00
Justin Li
97cb3c7cb6
readme: Fix installation command
2015-07-12 21:13:19 -04:00
Justin Li
fcc4a5472d
Merge pull request #77 from chihaya/fixNPE
...
udp: fix nil ptr when socket fails to be created
2015-07-08 20:29:14 -04:00
Jimmy Zelinskie
6b53ceb2a3
udp: fix nil ptr when socket fails to be created
2015-07-08 20:21:35 -04:00
Justin Li
e27fbe9652
Merge pull request #75 from chihaya/fix-dockerfile
...
Fix Dockerfile to build with the latest changes
2015-06-30 22:33:42 -04:00
Justin Li
94fcd4de5a
dockerfile: Fix Dockerfile to build with the latest changes
2015-06-30 22:33:20 -04:00
Jimmy Zelinskie
641ab1fc82
readme: add license badge
2015-06-30 21:39:25 -04:00
Justin Li
2f2840e135
Merge pull request #74 from chihaya/ignoreBadConnInStats
...
udp: make BadConnID a normal error
2015-06-30 19:20:20 -04:00
Jimmy Zelinskie
cd7c8dd374
udp: make BadConnID a normal error
...
This causes packets that have bad connection IDs to not be recorded as a
bad request in our stats. These types of errors to be expected and
should balloon our stats.
Fixes #72 .
2015-06-30 18:10:13 -04:00
Jimmy Zelinskie
9b54f82511
Merge pull request #71 from dtrackd/corrected-installation-instructions
...
Update the installation instructions
2015-06-27 19:16:30 -04:00
Demonii
d2e2d551ec
Update the installation instructions
...
The instructions were outdated from when the godep were removed and also there were typos/inconsistency in paths. Should be fx now.
2015-06-27 17:12:17 +12:00
Justin Li
5afdc7738e
Merge pull request #70 from chihaya/lastbadreq
...
tracker: remove last "bad request"
2015-06-27 00:22:09 -04:00
Jimmy Zelinskie
520a357e37
tracker: remove last "bad request"
...
A peer can join a swarm immediately as completed if they already have
the file before they ever announce. If we don't have them in our
leechers, we were previously failing to add them as a seeder.
2015-06-27 00:09:57 -04:00
Jimmy Zelinskie
8df5f8e193
docs: update primary branch to be master
2015-06-26 23:00:25 -04:00
Justin Li
ce5ee8b365
Merge pull request #69 from chihaya/rmbadreq
...
tracker: rm badrequest when state is unknown
2015-06-26 22:52:22 -04:00
Jimmy Zelinskie
744313d253
tracker: rm badrequest when state is unknown
...
This assumption was just totally wrong. If there is any kind of packet
loss or the tracker starts up to a pre-existing swarm, all the peers
will get bad request responses.
2015-06-26 22:49:09 -04:00
Justin Li
2f7943883f
Merge pull request #68 from chihaya/udplogs
...
logging: add error to udp logs
2015-06-26 22:21:22 -04:00
Jimmy Zelinskie
0741df3575
logging: add error to udp logs
...
This also makes the format of UDP and HTTP logs a little more similar.
2015-06-26 21:07:29 -04:00
Jimmy Zelinskie
9a0d86610c
Merge pull request #67 from chihaya/pprof-handler
...
Add pprof debug HTTP endpoint
2015-06-26 18:42:20 -04:00
Justin Li
0323a5b8cf
Add pprof debug HTTP endpoint
2015-06-26 14:05:55 -04:00
Jimmy Zelinskie
61f483c2f3
Merge pull request #66 from chihaya/kill-godeps
...
Remove godep sources from the repository
2015-06-20 20:11:36 -04:00
Justin Li
da33c3d585
Use godep restore to set up dependencies
2015-06-18 20:16:24 -04:00
Justin Li
316cb7ce5a
Remove godep sources from the repository
2015-06-18 20:11:44 -04:00
Justin Li
8502867d94
Merge pull request #64 from chihaya/fix-blank-query-param-panic
...
Fix panic occurring when blank query params are present
2015-06-18 18:00:40 -04:00
Justin Li
203e4e6020
Fix query parsing when blank values are present
2015-06-18 10:34:52 -04:00
Justin Li
242ba22f8c
Add failing test that reproduces #63
2015-06-18 10:19:54 -04:00
Justin Li
a17474bb05
Merge branch 'udp' into develop
2015-06-17 19:39:51 -04:00
Jimmy Zelinskie
2fcd34360f
udp: basic announce test
2015-05-11 00:57:54 -04:00