I was wondering what kind of attribute sync_closein OpenSSL :: SSL :: SSLSocket . He says that it is not documented in rdoc. I see this in many pieces of code, but I do not see its use. What is this for?
sync_close
First you open the socket, i.e. tcp, then you create an SSL layer. sync_close does this so that both the source socket and the encrypted layer are closed together.