Jimmy Zelinskie
c0ba9b7d38
Merge pull request #114 from mrd0ll4r/udpsync
...
udp: replace boolean-synchronization with channels
2015-10-29 15:12:23 -04:00
Jimmy Zelinskie
b303f0e9f2
default to "localhost:port" and not "":port
...
Windows doesn't handle empty addresses the way unix-like OSs do.
2015-10-28 16:33:01 -04:00
Jimmy Zelinskie
7730cd9a16
fix closure starting all servers
2015-10-28 16:28:09 -04:00
Leo Balduf
bd546f6eba
udp: replace boolean-synchronization with channels
2015-10-28 21:09:52 +01:00
Jimmy Zelinskie
386e0d2abc
Merge pull request #112 from mrd0ll4r/slicebounds
...
tracker: update reslicing to use implicit slice bounds
2015-10-28 15:05:06 -04:00
Leo Balduf
b12867dcf2
tracker: update reslicing to use implicit slice bounds
2015-10-28 19:56:04 +01:00
Jimmy Zelinskie
29dc5f5fb3
Merge pull request #111 from mrd0ll4r/backendparams
...
backend: remove unused parameter from LoadAllUsers()
2015-10-28 14:20:49 -04:00
Leo Balduf
5e7c8a1b27
backend: remove unused parameter from LoadAllUsers()
2015-10-28 19:08:11 +01:00
Jimmy Zelinskie
9e52ac537c
Merge pull request #110 from mrd0ll4r/protoconstfields
...
udp: make the options constant
2015-10-26 17:01:27 -04:00
Leo Balduf
7e1214cf12
udp: make the options constant
2015-10-26 21:22:54 +01:00
Jimmy Zelinskie
6fe1ddf1bc
Merge pull request #105 from chihaya/normljson
...
normalize all JSON to camelCase
2015-10-25 17:59:17 -04:00
Jimmy Zelinskie
133450944c
normalize all JSON to camelCase
...
Fixes #104 .
2015-10-25 17:25:02 -04:00
Jimmy Zelinskie
7ae23bb2c6
inline interface definition to avoid confusion
2015-10-25 16:31:56 -04:00
Jimmy Zelinskie
b6929a7632
remove unused Server type
2015-10-25 16:31:46 -04:00
Jimmy Zelinskie
5c900a210f
Merge pull request #92 from chihaya/sizefix
...
decrement storage size when purging torrents
2015-10-25 15:39:05 -04:00
Jimmy Zelinskie
3532f39690
decrement storage size when purging torrents
...
Fixes #96 .
2015-10-25 15:31:29 -04:00
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