Justin Li
|
d47cf7d4bc
|
Move stats buffer size to the regular config
|
2014-07-23 16:14:50 -04:00 |
|
Justin Li
|
d5da5daa88
|
Read RealIP header from the request header map
|
2014-07-23 15:59:07 -04:00 |
|
Justin Li
|
98542c0ff1
|
Move tracker-specific logic out of http/query and into http
|
2014-07-23 15:56:15 -04:00 |
|
Justin Li
|
9292900afc
|
Update readme to include new features
|
2014-07-23 15:43:15 -04:00 |
|
Justin Li
|
76c68a53b5
|
Add RealIPHeader configuration, and move network conf to its own struct
|
2014-07-23 14:00:17 -04:00 |
|
Justin Li
|
8369bbbcd8
|
Allow configuring if a peer may have 2 IPs
|
2014-07-23 13:36:31 -04:00 |
|
Justin Li
|
b227fc1fcd
|
Support dual-stacked peers
|
2014-07-23 13:15:04 -04:00 |
|
Justin Li
|
14843b9e89
|
Add AllowIPSpoofing configuration
|
2014-07-23 13:08:57 -04:00 |
|
Jimmy Zelinskie
|
bd1fa3eb24
|
cli flag for default stats chan size
|
2014-07-23 03:59:23 -04:00 |
|
Justin Li
|
4295ad739c
|
Reorder peer stats to provide a more readable output
|
2014-07-23 02:25:35 -04:00 |
|
Justin Li
|
bacf4f0fd4
|
Add really really verbose log level
|
2014-07-23 02:25:15 -04:00 |
|
Justin Li
|
f2cc5188dd
|
Amend announce test to include an instance of the started event
|
2014-07-23 01:39:20 -04:00 |
|
Justin Li
|
2a400a0419
|
Handle ErrBadRequest after HandleAnnounce is called
|
2014-07-23 01:34:40 -04:00 |
|
Justin Li
|
856568f1a8
|
Always log errors
|
2014-07-23 01:31:22 -04:00 |
|
Justin Li
|
84195deb58
|
Correctly handle ErrBadRequest in the announce handler
|
2014-07-23 01:26:47 -04:00 |
|
Jimmy Zelinskie
|
34729e3c91
|
Merge branch 'master' of github.com:chihaya/chihaya
|
2014-07-23 01:20:54 -04:00 |
|
Jimmy Zelinskie
|
f8d12054c5
|
log request failures
|
2014-07-23 01:20:48 -04:00 |
|
Justin Li
|
9054c1364a
|
Don't error if the client is sending a started event
|
2014-07-23 01:20:25 -04:00 |
|
Justin Li
|
e7481b31c1
|
Don't write ipv6 peers field if empty
|
2014-07-23 00:56:11 -04:00 |
|
Justin Li
|
b99e5e0c36
|
Add compact announce tests
|
2014-07-23 00:55:57 -04:00 |
|
Justin Li
|
6396990e52
|
Move errors to tracker/models
|
2014-07-23 00:37:30 -04:00 |
|
Justin Li
|
6c7abdfa2d
|
Don't return an HTTP error for "bad request" tracker errors
|
2014-07-23 00:33:00 -04:00 |
|
Justin Li
|
ba1ad7f5bf
|
Prevent non-active peers from announcing events
|
2014-07-23 00:30:11 -04:00 |
|
Justin Li
|
8625c4b3c4
|
Update the easter egg
|
2014-07-23 00:12:29 -04:00 |
|
Justin Li
|
7400792cc4
|
Use a single goroutine for stats aggregation
|
2014-07-22 23:49:00 -04:00 |
|
Justin Li
|
ce2e335562
|
Remove IPv4/IPv6 stats specializations and replace with RecordPeerEvent
|
2014-07-22 23:41:20 -04:00 |
|
Justin Li
|
11d06f7830
|
Put leecherFinished in announce.go and remove unnecessary code
|
2014-07-22 23:31:19 -04:00 |
|
Justin Li
|
de69eaeafe
|
Add current peer stats
|
2014-07-22 23:29:30 -04:00 |
|
Justin Li
|
727370fedc
|
Set default percentile window to 256 samples
|
2014-07-22 23:13:59 -04:00 |
|
Justin Li
|
b6f0fc79cb
|
Add log normal distributions to the percentile calculation tests
|
2014-07-22 23:00:12 -04:00 |
|
Justin Li
|
60fd62cc82
|
Add comments for the percentile type
|
2014-07-22 15:02:47 -04:00 |
|
Justin Li
|
7fce8c9ad4
|
Add response time stats
|
2014-07-22 14:57:36 -04:00 |
|
Justin Li
|
0a4c290ecb
|
Safer and faster atomicity
|
2014-07-22 12:47:17 -04:00 |
|
Justin Li
|
ff77a29b0a
|
Thread safe, but unsafe
|
2014-07-22 12:42:56 -04:00 |
|
Justin Li
|
a162f38281
|
Fast percentile implementation
|
2014-07-22 12:26:31 -04:00 |
|
Justin Li
|
2f4d0b0f9a
|
Add base Percentile interface and tests
|
2014-07-22 02:41:39 -04:00 |
|
Justin Li
|
8d8c1fba62
|
Don't write nil compact peer lists
|
2014-07-22 01:59:05 -04:00 |
|
Justin Li
|
9b60b3144e
|
Fix copy and paste error
|
2014-07-22 01:56:48 -04:00 |
|
Justin Li
|
539a1b3774
|
Implement *Reaped stats
|
2014-07-22 01:45:22 -04:00 |
|
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
|
858258f884
|
start json renamed
|
2014-07-22 01:17:08 -04:00 |
|
Jimmy Zelinskie
|
fa191de6d3
|
serve stats via /check
|
2014-07-22 01:12:41 -04:00 |
|
Justin Li
|
e17c984ec8
|
Fix semantics of seed stats, fix Peer.IPv6() always returning true
|
2014-07-22 01:06:30 -04:00 |
|
Jimmy Zelinskie
|
26f87139e0
|
remove needless ipv6 checks
|
2014-07-21 21:04:28 -04:00 |
|
Justin Li
|
dc76657af3
|
Switch deleted torrent event
|
2014-07-21 20:49:17 -04:00 |
|
Jimmy Zelinskie
|
2c8894fbda
|
rollout more stats
|
2014-07-21 20:24:51 -04:00 |
|
Jimmy Zelinskie
|
24f3e6b80b
|
announce & scrape stats
|
2014-07-21 19:32:36 -04:00 |
|
Jimmy Zelinskie
|
477f292371
|
global stats
|
2014-07-21 19:08:08 -04:00 |
|