mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-11 03:26:33 +00:00

The idle period is set to 5sec. We now also ping every second since last activity. This makes the quic.Connection less prone to being closed with no network activity, since we send multiple pings per idle period, and thus a single packet loss cannot cause the problem.
45 lines
822 B
YAML
45 lines
822 B
YAML
run:
|
|
skip-files:
|
|
- internal/qtls/structs_equal_test.go
|
|
|
|
linters-settings:
|
|
depguard:
|
|
type: blacklist
|
|
packages:
|
|
- github.com/marten-seemann/qtls
|
|
packages-with-error-message:
|
|
- github.com/marten-seemann/qtls: "importing qtls only allowed in internal/qtls"
|
|
misspell:
|
|
ignore-words:
|
|
- ect
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- asciicheck
|
|
- deadcode
|
|
- depguard
|
|
- exhaustive
|
|
- exportloopref
|
|
- goimports
|
|
- gofmt # redundant, since gofmt *should* be a no-op after gofumpt
|
|
- gofumpt
|
|
- gosimple
|
|
- ineffassign
|
|
- misspell
|
|
- prealloc
|
|
- staticcheck
|
|
- stylecheck
|
|
- structcheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
- vet
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: internal/qtls
|
|
linters:
|
|
- depguard
|