sni / lmd

Livestatus Multitool Daemon - Create livestatus federation from multiple sources
https://labs.consol.de/omd/packages/lmd/
GNU General Public License v3.0
42 stars 31 forks source link

Break keep alive connection on EOF #99

Closed jacobbaungard closed 4 years ago

jacobbaungard commented 4 years ago

When a EOF is sent, LMD did not correctly terminate KeepAlive sessions. However no more queries would be answered after an EOF. This resulted in the KeepAlive connection hanging unnecessarily.

jacobbaungard commented 4 years ago

Hm, not sure about the test failure. I get the following error if I run make updatedeps

go: gopkg.in/yaml.v3 upgrade => v3.0.0-20200615113413-eeeca48fe776
# github.com/golangci/golangci-lint/pkg/golinters
../go/pkg/mod/github.com/golangci/golangci-lint@v1.28.0/pkg/golinters/gofumpt.go:49:41: cannot use "" (type string) as type format.Options in argument to format.Source
sni commented 4 years ago

thanks