From: Michal Suchanek Date: 2009-03-18T19:36:39+09:00 Subject: Re: SSLServer crashes when non-essl telnet connection is made 2009/3/17 Erick Cantwell : > Michal, > > You were absolutely correct in that I was getting an SSL exception, but > I refused to believe that this should be "normal" behavior.  In my > opinion an SSLServer in ruby should not crash by default when an > unencrypted connection is made. It does not crash. It throws an exception. In a sample code it is OK to just ignore the exceptional case and let the server terminate. In a real server you will want to catch the exception so that the server continues to run: begin socket = server.accep rescue SSLError => ex STDERR. puts ex.inspect end HTH Michal