This PR adds support for secure streams when using GELF's TCP protocol through the rustls library. It supports certificates in the PEM container format.
A lot of the async code here predates async/await support in the language, so I'm updating bits and pieces of it conservatively as I need to touch them. TLS support isn't too intrusive though, I think it works out pretty nicely.
Closes #68
This PR adds support for secure streams when using GELF's TCP protocol through the rustls library. It supports certificates in the PEM container format.
A lot of the async code here predates
async
/await
support in the language, so I'm updating bits and pieces of it conservatively as I need to touch them. TLS support isn't too intrusive though, I think it works out pretty nicely.