Fix sockets left in CLOSE_WAIT and cleanups
In https://lab.nexedi.com/nexedi/slapos/blob/7102c878b2bda5a56be31e02b0cd90914b291478/component/fluentbit-plugin-wendelin/buildout.cfg#L15 we are using tag 0.2.1 but master branch was something completely different. This merges 0.2.1 and remove some unused/obsolete code that was still on master. This fixes the problem of leaked files and CLOSE_WAIT, the fix is actually very simple ( b2052811 ), the responses were never closed, so each ingested line leaked a file descriptor. This also removes an "UnsecureSkipVerify" TLS option, I don't see any reason to use it. See merge request !2
Showing
Makefile
0 → 100644
go.mod
0 → 100644
go.sum
0 → 100644
out_http.go
deleted
100644 → 0
src/fluentbit_wendelin.go
0 → 100644
test/test.c
0 → 100644
Please register or sign in to comment