ribbybibby / ssl_exporter

Exports Prometheus metrics for TLS certificates
Apache License 2.0
520 stars 97 forks source link

Fix connection leak #31

Closed ribbybibby closed 4 years ago

ribbybibby commented 4 years ago

Connections were being left around after requests and in some cases this could result in file descriptor errors when open files built up.

Closing the http response body and the tcp connection, as well as disabling http keep alives seems to resolve this.