elastic / ruby-lumberjack

Ruby lumberjack protocol, contains both client and server
Other
4 stars 17 forks source link

Fix/delay ssl handshake #18

Closed ph closed 1 year ago

jordansissel commented 9 years ago

This looks like a dup of #13?

ph commented 9 years ago

@jordansissel This a bit different of #13, since the SSL handshake is not when we are doing the #sysread in the socket. That small change allow us to delay the ssl dance in another thread, so if IO.select on the ssl is blocking, it wont block the main acceptor thread.