I was wondering what the attribute sync_close
in OpenSSL::SSL::SSLSocket is for. It says it's not documented in rdoc. I can see it in a lot of code snippets, but I can't see it's usage. What is it for?
First you open a socket, ie tcp, then you create the SSL layer. sync_close makes it so that both the original socket and the encrypted layer are closed together.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With