summaryrefslogtreecommitdiff
path: root/caddytest/integration/handler_test.go
diff options
context:
space:
mode:
authorCuong Manh Le <cuong.manhle.vn@gmail.com>2020-12-01 22:27:46 +0700
committerGitHub <noreply@github.com>2020-12-01 08:27:46 -0700
commit4cff36d731390915649261f0e9c088be0eeafcf1 (patch)
tree9b387b83815ca6ed6929a6b0a468ffbf88c182a2 /caddytest/integration/handler_test.go
parenta26f70a12b1289231d705bc002fe1df3180cb6c5 (diff)
caddyauth: Use buffered channel passed to signal.Notify (#3895)
The docs at os/signal.Notify warn about this signal delivery loss bug at https://golang.org/pkg/os/signal/#Notify, which says: Package signal will not block sending to c: the caller must ensure that c has sufficient buffer space to keep up with the expected signal rate. For a channel used for notification of just one signal value, a buffer of size 1 is sufficient. Caught by a static analysis tool from Orijtech, Inc. called "sigchanyzer"
Diffstat (limited to 'caddytest/integration/handler_test.go')
0 files changed, 0 insertions, 0 deletions