Commit graph

21 commits

Author SHA1 Message Date
Justin Li
38d2c91ff1 Implement RequestsHandled and RequestsErrored stats 2014-07-22 01:40:52 -04:00
Justin Li
6fdb68d9b2 Implement OpenConnections and ConnectionsAccepted stats 2014-07-22 01:38:07 -04:00
Jimmy Zelinskie
4514705363 re-add /check as per discussion 2014-07-22 01:19:09 -04:00
Jimmy Zelinskie
e78dc74990 added Close to tracker 2014-07-21 03:54:22 -04:00
Justin Li
3ad3f11b2c Put the query package into http, since it is for http only 2014-07-17 01:00:26 -04:00
Justin Li
da19ed3e21 Separate tracker logic from the http package, step 1 2014-07-17 00:09:56 -04:00
Justin Li
a2e14f79c2 Add peer purging test, and ensure the purging routine runs whenever a tracker is created 2014-07-16 20:08:03 -04:00
Justin Li
cd6204f13d Purge peers that have not announced for twice the announce interval 2014-07-16 19:38:51 -04:00
Justin Li
7fe6dc3b4e Simpler, more efficient way of deleting inactive torrents 2014-07-16 15:03:33 -04:00
Justin Li
ea72e9e10c Initial torrent inactivity purging 2014-07-16 13:24:44 -04:00
Justin Li
f3f58c024c Use glog levelled logging to decrease announce overhead 2014-07-16 11:52:59 -04:00
Justin Li
d39a40c4fe Clearer field names for the Tracker struct 2014-07-16 11:29:40 -04:00
Jimmy Zelinskie
ab3d49da9d pedantic breakline! 2014-07-16 06:01:09 -04:00
Jimmy Zelinskie
23edba6dc6 check route added 2014-07-16 05:44:26 -04:00
Jimmy Zelinskie
65bd11f636 s/setupRoutes/NewRouter 2014-07-16 04:40:51 -04:00
Jimmy Zelinskie
a614f42a94 docs for http package 2014-07-16 04:40:17 -04:00
Jimmy Zelinskie
8ddbf32002 rm last printf in http 2014-07-12 01:52:27 -04:00
Jimmy Zelinskie
e2af935b83 disambiguate routing 2014-07-09 01:34:34 -04:00
Jimmy Zelinskie
afb2376286 api routes; status codes fixed 2014-07-09 00:53:57 -04:00
Justin Li
e08f745f6c Happy uber-belated new year! 2014-07-06 17:56:54 -04:00
Jimmy Zelinskie
6d5290d85e transition to httprouter 2014-07-01 21:40:29 -04:00