Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2020-10-20 13:30:41 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2020-10-20 13:30:41 +0300
commit05c6facd72644095ca1aeff88c564dfb411fe34f (patch)
tree9292efadd79fff678a74f2f2b6cb38648c24e981 /app_config.go
parent7f8e9bd39def730616a4c7d1d5f00ee6ca9ea76a (diff)
Revert "Add Host and SNI-based rate limiting"
This reverts commit 7f8e9bd39def730616a4c7d1d5f00ee6ca9ea76a.
Diffstat (limited to 'app_config.go')
-rw-r--r--app_config.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/app_config.go b/app_config.go
index 96dd8f92..3bc2197b 100644
--- a/app_config.go
+++ b/app_config.go
@@ -10,12 +10,6 @@ type appConfig struct {
RootKey []byte
MaxConns int
- HostRateLimit uint
- HostRateLimitWindow time.Duration
-
- TLSSNIRateLimit uint
- TLSSNIRateLimitWindow time.Duration
-
ListenHTTP []uintptr
ListenHTTPS []uintptr
ListenProxy []uintptr