Jimmy Zelinskie
5af24b728a
remove last use of "&*"
...
This no longer works as a terse way of copying heap allocated objects.
Fixes #93 .
2016-01-21 11:37:37 -05:00
Jimmy Zelinskie
29c206611e
replace time.NewTicker().C with time.After
...
They are synonymous and time.After is much easier to read.
2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
9825a69ac7
dockerfile: change entrypoint to allow args
2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
cb161daca1
dockerfile: add port range and log level
2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
e2c40652ad
update godeps with jwt dependencies
2016-01-13 16:14:54 -05:00
Jimmy Zelinskie
82459297a4
add support for jwt validation of infohashes
2016-01-13 16:14:54 -05:00
Justin Li
4d018d5081
Merge pull request #128 from chihaya/rmprivate
...
remove all private tracker logic
2016-01-04 22:12:56 -05:00
Jimmy Zelinskie
9862a57b73
remove all private tracker logic
...
There are no consumers of any of this logic nor is it complete. We're
better off without it in the meantime until we have a use case and a
more cohesive model for expressing it.
2016-01-04 18:26:29 -05:00
Jimmy Zelinskie
f70be94911
explicitly copy values out of Storage
...
The previously implementation was using `&*` which is now getting
optimized by the Go compiler and no longer making a copy.
2016-01-04 16:31:24 -05:00
Leo Balduf
35ced4ab80
documentation: fixed JSON capitalization in CONFIGURATION.md, added missing keys
2015-11-01 20:05:40 +01:00
Jimmy Zelinskie
85e08f986e
small doc fixes
...
[skip ci]
2015-10-31 16:56:59 -04:00
Jimmy Zelinskie
522e874336
Merge pull request #117 from mrd0ll4r/udpsync
...
udp: have the IV-generating goroutine in the waitgroup
2015-10-30 15:36:31 -04:00
Leo Balduf
8e13f8fbe3
udp: have the IV-generating goroutine in the waitgroup
2015-10-30 20:29:38 +01:00
Jimmy Zelinskie
91c1649614
Merge pull request #116 from mrd0ll4r/exampleconfig
...
example config: fixed wrong data type for reapRatio
2015-10-30 15:21:32 -04:00
Leo Balduf
f7628e3a1d
example config: fixed wrong data type for reapRatio
2015-10-30 20:17:10 +01:00
Jimmy Zelinskie
c03fdedb9a
Merge pull request #115 from chihaya/udpWG
...
add waitgroup to udp server
2015-10-29 15:50:07 -04:00
Jimmy Zelinskie
39b1990798
add waitgroup to udp server
2015-10-29 15:14:35 -04:00
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