Commit graph

1254 commits

Author SHA1 Message Date
mrd0ll4r
5f99a7e778
Merge pull request #442 from cenkalti/split-http
split listen&serve for http
2019-01-13 20:07:11 +03:00
onestraw
9a5fac67ed dep ensure udpate
Change-Id: Icb2627d7e6e8fb916b481ed9d9a47daa40330698
2019-01-04 13:58:20 +08:00
onestraw
d65ab677e7 storage/redis: refactor redis storage
- Based on @duyanghao's PR
  - Make staticcheck pass
  - Address review commentsq
2019-01-04 13:58:20 +08:00
duyanghao
e78892d5ac Add Support for Redis Storage Backend(To Achieve Chihaya High Availability)
Change-Id: I5cf703095d1060ac17e403b86056d3eccad97f2c
Signed-off-by: duyanghao <1294057873@qq.com>
2019-01-03 17:21:13 +08:00
Cenk Alti
d0fc3a4634
split listen&serve for http 2018-12-30 13:36:32 +03:00
Jimmy Zelinskie
b4b257c151
Merge pull request #441 from cenkalti/race
enable -race flag in tests
2018-12-29 22:29:36 -05:00
Cenk Alti
df4eeb840b
enable -race flag in tests 2018-12-30 00:50:54 +03:00
Jimmy Zelinskie
91715229f1
Merge pull request #438 from cenkalti/fix-437
Fix 437
2018-12-29 15:03:05 -05:00
Cenk Alti
0de1d25448
fix listenAndServe comment 2018-12-27 15:17:43 +03:00
Cenk Alti
b345eb3899
split listenAndServe into 2 functions 2018-12-26 18:15:05 +03:00
Cenk Alti
2a26215f2a
Revert "protect socket variable with mutex; fix #437"
This reverts commit 1b7ce4c378.
2018-12-26 18:10:48 +03:00
Cenk Alti
1b7ce4c378
protect socket variable with mutex; fix #437 2018-12-25 11:23:47 +03:00
Cenk Alti
fcbc168ae6
add test case for demonstrating panic 2018-12-25 11:23:08 +03:00
mrd0ll4r
8f0fc7ba10
Merge pull request #435 from onestraw/goimports
fix goimports error
2018-12-17 10:31:24 +01:00
onestraw
e09d11e4b9 fix goimports error
Change-Id: I0f6e383ec1081cc47c690fdaab3fd35590a2634b
2018-12-17 16:59:44 +08:00
Jimmy Zelinskie
dcd8e8ea86
Merge pull request #429 from yashpal1995/canonicalize_real-ip-header
frontend/http: canonicalize http real_ip_header
2018-10-24 14:28:21 -04:00
Justin Li
bacc7646d0
Merge pull request #431 from chihaya/fix-lint-import
Fix path to golint for travis
2018-10-24 13:06:11 -04:00
Justin Li
3c80ed8a8e Fix goimports violations 2018-10-24 09:25:03 -04:00
Justin Li
f19f08aa2e Fix path to golint for travis 2018-10-23 13:48:34 -04:00
Yashpal Choudhary
e749c9c6c9 frontend/http: canonicalize http real_ip_header
Fixes #428
2018-10-20 03:07:22 +05:30
Jimmy Zelinskie
3f9ac79570
Merge pull request #425 from jzelinskie/docker-ca
dockerfile: add CA certificates
2018-09-24 18:58:44 -04:00
Jimmy Zelinskie
bb56c2932b dockerfile: add CA certificates 2018-09-24 14:04:12 -04:00
mrd0ll4r
7c5f8bf9c5
Merge pull request #424 from daftaupe/torrentapproval_tests
middleware/torrentapproval : make use of ErrTorrentUnapproved
2018-09-21 09:43:37 +02:00
Pierre-Alain TORET
757ebf1241 middleware/torrentapproval : make use of ErrTorrentUnapproved 2018-09-21 08:49:03 +02:00
mrd0ll4r
c9d51e8e68
Merge pull request #423 from daftaupe/clientapproval_tests
middleware/clientapproval : add tests
2018-09-20 15:09:54 +02:00
Pierre-Alain TORET
6450a2fa00 middleware/clientapproval : add tests 2018-09-20 14:10:36 +02:00
Pierre-Alain TORET
12c9f95eb1 middleware/clientapproval : add error when using blacklist and whitelist at the same time 2018-09-20 11:47:14 +02:00
mrd0ll4r
d5bddeac96
Merge pull request #415 from daftaupe/#375
middleware : add torrent approval package
2018-09-19 15:01:16 +02:00
Pierre-Alain TORET
82c9f08f4f middleware : add torrent approval package
this makes it possible to specify a torrent whitelist/blacklist in the
configuration file based on their hexadecimal hash.

Fixes #375

Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-09-19 14:11:13 +02:00
mrd0ll4r
564a54a178
Merge pull request #420 from mrd0ll4r/connid-pool
frontend/udp: pool connection ID generation state
2018-09-18 18:07:32 +02:00
Leo Balduf
495f2c2734 frontend/udp: pool connection ID generation state 2018-09-18 11:25:54 +02:00
mrd0ll4r
b505cecde1
Merge pull request #419 from mrd0ll4r/connid-debug
frontend/udp: debug log connection ID generation/validation
2018-09-17 01:11:56 +02:00
Leo Balduf
96d0c3d829 frontend/udp: debug log connection ID generation/validation 2018-09-16 22:36:47 +02:00
Justin Li
862b452cef
Merge pull request #414 from chihaya/http-and-https
Add https_addr config, required to run HTTPS
2018-09-12 00:49:08 -04:00
Justin Li
1cb16ddb0c Add https_addr config, required to run HTTPS 2018-09-11 17:17:09 -04:00
Justin Li
1a4e4c833b
Merge pull request #413 from chihaya/recursive-stop-groups
Return []error from Stop() channel, allow recursive stop groups
2018-09-11 17:14:41 -04:00
Justin Li
2df7eac90f
Merge pull request #412 from chihaya/config-keepalive
Add config to enable keepalive/persistent connections
2018-09-09 11:38:18 -04:00
Justin Li
d95120c817 Return []error from Stop() channel, allow recursive stop groups 2018-09-09 11:30:15 -04:00
Justin Li
20edf7a136 Add config to enable keepalive/persistent connections 2018-09-09 09:01:53 -04:00
Jimmy Zelinskie
21f500c93e
Merge pull request #405 from jzelinskie/one-binary
cmd: add e2e command
2018-09-04 11:56:18 -04:00
Jimmy Zelinskie
3aa7d1a91d cmd: add e2e command
This change unifies chihaya and chihaya-e2e binaries.
It also vendors the code missing from the project that was used in
chihaya-e2e.

Fixes #402.
2018-09-04 11:38:22 -04:00
mrd0ll4r
3bcb79129c
Merge pull request #408 from mrd0ll4r/fix-tls
http: fix TLS
2018-09-04 17:07:32 +02:00
Leo Balduf
8095657735 http: fix TLS 2018-09-04 12:45:06 +02:00
Jimmy Zelinskie
085234044a
Merge pull request #403 from jzelinskie/trace
cmd/chihaya: add tracing flag
2018-07-04 12:09:41 -04:00
Jimmy Zelinskie
17f22e77a3 cmd/chihaya: add tracing flag 2018-07-03 23:14:33 -04:00
Jimmy Zelinskie
ff15955dcc
Merge pull request #401 from jzelinskie/style-nitpicks
Style nitpicks
2018-06-15 13:48:06 -04:00
Jimmy Zelinskie
0738d93644
Merge pull request #399 from jzelinskie/prom
dist/prometheus: remove rules file
2018-06-15 13:34:35 -04:00
Jimmy Zelinskie
aab8fa24c1
Merge pull request #400 from jzelinskie/helm-config-update
dist/helm: resync config with values.yaml
2018-06-15 13:34:23 -04:00
Jimmy Zelinskie
84ee1d6658 storage/memorybysubnet: fix mispellings 2018-06-15 13:33:26 -04:00
Jimmy Zelinskie
734c11c6ed bittorrent: anonymous fields for IPs in test table 2018-06-15 13:33:26 -04:00