mrd0ll4r
e7b8264e50
Merge pull request #361 from mrd0ll4r/timecache
...
Timecache: cache time
2017-10-15 21:47:05 +02:00
Leo Balduf
6dfdb7e192
udp: clean up connection ID generation
2017-10-15 20:05:39 +02:00
Leo Balduf
89bc479a3b
*: make use of timecache
2017-10-15 20:05:39 +02:00
Leo Balduf
55b57549a6
pkg/timecache: implement a time cache
2017-10-15 20:05:35 +02:00
Jimmy Zelinskie
ce43a09956
*: add sanitization example config
2017-10-08 18:02:34 -04:00
Jimmy Zelinskie
134744a484
middleware: remove sanitization mw
2017-10-08 18:02:34 -04:00
Jimmy Zelinskie
47b5e67345
frontend/udp: add request sanitization
2017-10-08 18:02:34 -04:00
Jimmy Zelinskie
6dee48ce17
frontend/http: add request sanitization
2017-10-08 18:02:33 -04:00
Jimmy Zelinskie
b7e6719129
bittorrent: add initial request sanitizer
2017-10-08 18:02:33 -04:00
mrd0ll4r
b314b5003a
Merge pull request #362 from mrd0ll4r/default-timeout
...
http: add default ReadTimeout, WriteTimeout
2017-10-03 13:01:53 +02:00
Leo Balduf
7d9166e003
http: add default ReadTimeout, WriteTimeout
2017-09-30 14:26:02 +02:00
mrd0ll4r
8300621799
Merge pull request #358 from mrd0ll4r/clean-logging
...
cmd/chihaya: clean up logging
2017-09-20 17:17:48 +02:00
Leo Balduf
79750ef983
cmd/chihaya: clean up logging
2017-09-19 21:27:52 +02:00
mrd0ll4r
b9773473e4
Merge pull request #356 from mrd0ll4r/stop-tests
...
storage: stop peer store after tests
2017-09-13 15:29:55 +02:00
Leo Balduf
b5dda16706
storage: stop peer store after tests
2017-09-13 03:47:19 +02:00
mrd0ll4r
2a4c82f613
Merge pull request #355 from mrd0ll4r/issue349
...
cmd/chihaya: log which config is in use
2017-09-03 20:55:37 +02:00
mrd0ll4r
464d37b2a7
Merge pull request #354 from mrd0ll4r/fix-debug
...
pkg/log: fix debug logging
2017-09-03 20:55:26 +02:00
Leo Balduf
c7b052dbb2
cmd/chihaya: log which storage is in use
2017-09-03 19:51:29 +02:00
Leo Balduf
13857d5bce
pkg/log: fix debug logging
2017-09-03 11:37:17 +02:00
mrd0ll4r
4f4495f0f3
Merge pull request #350 from mrd0ll4r/benchmark-scrapes
...
storage: add Benchmarks for ScrapeSwarm, optimize implementations
2017-08-30 19:34:55 +02:00
Leo Balduf
5400a99b75
storage: add Benchmarks for ScrapeSwarm, optimize implementations
2017-08-30 08:54:11 +02:00
mrd0ll4r
44dbf4abb4
Merge pull request #351 from mrd0ll4r/log-output
...
log: add SetOutput function
2017-08-30 08:31:20 +02:00
mrd0ll4r
7c666e336a
Merge pull request #352 from mrd0ll4r/subnet-benchconf
...
storage: update benchmark config
2017-08-30 08:30:55 +02:00
Leo Balduf
8ee8793867
storage: update benchmark config
2017-08-25 19:41:41 +02:00
Leo Balduf
3168f50601
log: add SetOutput function
2017-08-24 12:48:13 +02:00
mrd0ll4r
d026424038
Merge pull request #348 from mrd0ll4r/memorybench
...
storage: add PeerLifetime to test config
2017-08-18 12:52:58 +02:00
Leo Balduf
df7b59e2f3
storage: add PeerLifetime to test config
2017-08-17 23:35:20 +02:00
Jimmy Zelinskie
3799b856c2
Merge pull request #346 from jzelinskie/up-deps
...
glide: update dependencies
2017-07-05 15:48:52 -04:00
Jimmy Zelinskie
034aa0b5dc
glide: update dependencies
...
This change also moves the logrus library to the lowercase import in
order to avoid breaking downstream projects vendoring chihaya.
2017-07-03 18:57:13 -04:00
mrd0ll4r
2c67ad4dac
Merge pull request #340 from mrd0ll4r/logging
...
pkg/log: create wrapper around logrus
2017-07-01 23:31:51 +02:00
Jimmy Zelinskie
3f3f75519d
Merge pull request #345 from jzelinskie/README-fix
...
README: update build instructions
2017-07-01 17:11:15 -04:00
Jimmy Zelinskie
c5f8e5a9b0
README: update build instructions
...
Fixes #342 .
2017-07-01 15:16:24 -04:00
Jimmy Zelinskie
13c71b4ee1
Merge pull request #344 from chihaya/fix-shard-key
...
*: fix shard key name
2017-06-30 03:02:33 -04:00
Jimmy Zelinskie
80e9fce087
*: fix shard key name
2017-06-29 17:10:25 -04:00
Leo Balduf
8ed171b0ea
pkg/log: create wrapper around logrus
2017-06-26 20:46:40 +02:00
mrd0ll4r
153ad325b7
Merge pull request #343 from mrd0ll4r/storage-defaults
...
storage: update config defaults
2017-06-26 20:41:48 +02:00
Leo Balduf
1aa6c86d3f
storage: update config defaults
2017-06-25 19:04:24 +02:00
mrd0ll4r
d43cb719b9
Merge pull request #339 from mrd0ll4r/xorshift
...
pkg/xorshift: rebuild to use stack only
2017-06-19 19:48:00 +02:00
Leo Balduf
02336d10e7
pkg/xorshift: rebuild to use stack only
2017-06-19 09:45:26 +02:00
mrd0ll4r
7ea4b3dc7a
Merge pull request #338 from mrd0ll4r/fix-parsing
...
Fix and optimize query parsing, make parsing errors static
2017-06-19 09:03:48 +02:00
Leo Balduf
6e1cfa18d8
bittorrent: make invalid query escape errors static
2017-06-18 22:43:24 +02:00
Leo Balduf
2764717657
bittorrent: fix out-of-range panics for URL parsing
2017-06-18 22:43:21 +02:00
mrd0ll4r
2dcb4344cb
Merge pull request #336 from mrd0ll4r/xorshift
...
pkg/prand: replace with pkg/xorshift
2017-06-12 22:09:38 +02:00
Leo Balduf
03b98e0090
pkg/prand: replace with pkg/xorshift
2017-06-12 22:07:05 +02:00
Jimmy Zelinskie
fa6dcddcb6
Merge pull request #335 from jzelinskie/fix-jwt
...
middleware/jwt: encode infohashes as hex
2017-06-09 00:11:02 -04:00
mrd0ll4r
3a323d9338
Merge pull request #331 from cedricgc/tracker-logic-context
...
TrackerLogic returns modified Contexts
2017-06-08 17:39:04 +02:00
Jimmy Zelinskie
ad496fceb8
middleware/jwt: encode infohashes as hex
...
This avoids some corner-cases that can be experienced when trying to
url-escape raw bytes.
2017-06-07 23:07:07 -04:00
Cedric Charly
f7becf952b
frontend: TrackerLogic interface returns modified context
...
HandleAnnounce and HandleScrape must return the modified context changed
by the hooks. These contexts are passed to AfterAnnounce and AfterScrape
for further use.
Closes #304
2017-06-07 19:25:12 -05:00
Jimmy Zelinskie
3168f13b48
Merge pull request #332 from jzelinskie/jwt-escape-infohash
...
middleware/jwt: escape infohash when debugging
2017-06-06 14:23:26 -04:00
mrd0ll4r
6663c09391
Merge pull request #333 from mrd0ll4r/prom-rules
...
dist/prometheus: add rules for the storage
2017-06-06 19:58:33 +02:00