Commit graph

18 commits

Author SHA1 Message Date
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
Leo Balduf
f7628e3a1d example config: fixed wrong data type for reapRatio 2015-10-30 20:17:10 +01: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
133450944c normalize all JSON to camelCase
Fixes #104.
2015-10-25 17:25:02 -04:00
Jimmy Zelinskie
1764fa4a2d add api to config & propogate config changes 2015-10-11 19:23:30 -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
Justin Li
ae62188711 Disable graceful signal handling 2015-04-28 20:27:39 -04:00
Jimmy Zelinskie
f25464a02b Merge branch 'master' into udp 2015-03-27 22:05:48 -04:00
Jimmy Zelinskie
80c068c97a config: add create_on_announce option
This option allows the user to specify whether or not to create a new
swarm for torrents that do not previously exist within the tracker's
storage.
2015-03-23 20:02:13 -04:00
Justin Li
c2770ee741 udp: Implement initial connection protocol 2015-02-20 01:12:47 -05:00
Jimmy Zelinskie
f98e166744 config: add client_whitelist to example config 2015-02-08 02:20:10 -05:00
Jimmy Zelinskie
ddd10d9732 Begin refactor to better encapsulate configuration
This also updates the example_config.json which did not previously work.
Config.Config is now composed of embedded structs of other configs that
can later be used to clearly have a separation of concerns.
2014-11-01 20:12:40 -04:00
Jimmy Zelinskie
ffb3c57181 move whitelist into cfg 2014-07-25 16:58:26 -04:00
Justin Li
404270b0ae Disable whitelist by default 2014-07-25 03:38:50 -04:00
Justin Li
9a79693a4c Verbose mem stats are way too verbose to be a default
[ci skip]
2014-07-25 02:18:14 -04:00
Justin Li
36251afd67 Fix typo in example config and keep default values consistent
[ci skip]
2014-07-25 02:13:09 -04:00
Jimmy Zelinskie
64d08ca16b add whitelist flag 2014-07-25 01:48:30 -04:00
Jimmy Zelinskie
200bf30db3 refresh example config 2014-07-25 01:39:03 -04:00
Renamed from example.json (Browse further)