jordansissel/syslog-shipper — pull request #6 by oreoshake (2012-01-05 00:11:19+00:00)
Title: Bypass peer checking, prompt to accept, cleanup, "ping" tests

A lot more work around the tls feature:

--skip-peer-check will accept an invalid ssl cert
--tls will use built in certs
--ping will make a connection and report if it was successful (when used with TLS)

Throws an exception from the ssl_verify_peer method for less cryptic messages. Tests aren't complete or completely passing, still backfilling those.

I'm having an issue where it looks like it's making more than one connection. It's only noticeable when using TLS and when you get prompted to accept an invalid cert because it asks you 2-3 times. I profiled it and I see two calls to EventMachine::Connection#new when I only expected one, and I was prompted twice so something is definitely creating a new object