Commit graph

1065 commits

Author SHA1 Message Date
Ilya Glotov
39e3b5ae5c
Remove GOOS environment variable 2017-12-12 15:34:58 +03:00
Ilya Glotov
ae7a13db21
Add docker improvements
* Add multistaged build effectively reducing image size
* Change deprecated MAINTAINER to LABEL
* Change ADD to COPY
* Start container as a non-root user
2017-12-12 15:03:53 +03:00
mrd0ll4r
d28c6717b1
Merge pull request #371 from mrd0ll4r/min-interval
middleware, config: re-add support for min interval
2017-12-07 19:44:19 +01:00
mrd0ll4r
15bd5c41f3
Merge pull request #368 from mrd0ll4r/udp-connect-af
udp: set address family for connect metrics
2017-12-07 19:10:30 +01:00
Leo Balduf
fa6e360da4 udp: set address family for connect metrics 2017-12-06 23:00:36 +01:00
mrd0ll4r
df34304ab4
Merge pull request #370 from mrd0ll4r/hook-stopper
middleware: document stop.Stopper behaviour for Hooks
2017-12-06 21:13:40 +01:00
mrd0ll4r
dde5cd1586
Merge pull request #369 from mrd0ll4r/storage-doc
storage: document PeerStore in more  detail
2017-12-06 21:12:59 +01:00
mrd0ll4r
34a6425fd5
Merge pull request #373 from mrd0ll4r/php-announces
http: add option for legacy PHP URLs
2017-12-06 15:16:33 +01:00
Leo Balduf
6e3470aa7e docs: add frontend documentation 2017-12-05 11:19:33 +01:00
Leo Balduf
2f58e98832 http: add option for legacy PHP URLs 2017-12-05 10:41:43 +01:00
Leo Balduf
35d146f675 cmd/chihaya: make things work on windows 2017-12-05 10:14:12 +01:00
Leo Balduf
ef166a6159 middleware, config: re-add support for min interval 2017-12-02 22:56:35 +01:00
Leo Balduf
756a0f6316 middleware: document stop.Stopper behaviour for Hooks 2017-12-02 22:46:09 +01:00
Leo Balduf
6198491194 storage: document PeerStore in more detail 2017-12-02 22:41:56 +01:00
Jimmy Zelinskie
395e59aef3
Merge pull request #366 from chihaya/tokei-badge
readme: add LoC badge
2017-11-28 19:32:42 -05:00
Jimmy Zelinskie
e505250b06
readme: add LoC badge 2017-11-28 16:59:57 -05:00
Jimmy Zelinskie
80558648d7 Merge pull request #363 from jzelinskie/req-san
Request Sanitizer via library
2017-10-18 12:45:25 -04:00
Jimmy Zelinskie
df0de94337 frontend/http: bandwidth are in bytes not pieces 2017-10-18 11:51:19 -04:00
Jimmy Zelinskie
1a0b5c56a6 frontend/http: disambiguate NumWantProvided 2017-10-17 22:06:03 -04:00
Jimmy Zelinskie
ca823e0e5f frontend: update to use non-object sanization 2017-10-17 22:02:45 -04:00
Jimmy Zelinskie
66e12c6684 bittorrent: add String() and LogFields() 2017-10-17 22:02:06 -04:00
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