logentries/le_log4net — pull request #6 by bmurphy1976 (2012-11-13 02:17:53+00:00)
Title: TLS Support

Hi, I added TLS support to the library. There's also a race condition where log entries can be queued before the socket is initialized (this.token is null). I fixed the race condition by delaying appending the token until time of message delivery.

I also changed the library to use TLS by default. I figured it would be more secure this way.

I also embedded TLS crt in the file. I'm not sure if the validation method is the best way to do it, but it appears to work.

I've tested this a bit, it seems to work fine, and the changes are minimal. Ihaven't done any extensive testing so I have no idea how the TLS encryption will behave at load.