Kfsio lib: make graceful bidirectional ssl shutdown work by invoking SSL_shutdown() immediately second time in the case if the first invocation returned 0. This is need to flip ssl state to read in the case if the first invocation successfully dispatch close notify ssl alert. Detach ssl filter from connection once ssl shutdown completes in both read and write calls in addition to shutdown call.
Kfsio lib: make graceful bidirectional ssl shutdown work by invoking SSL_shutdown() immediately second time in the case if the first invocation returned 0. This is need to flip ssl state to read in the case if the first invocation successfully dispatch close notify ssl alert. Detach ssl filter from connection once ssl shutdown completes in both read and write calls in addition to shutdown call.

fengshao0907/qfs,qnu/qfs,thebigbrain/qfs,thebigbrain/qfs,quantcast/qfs,fengshao0907/qfs,qnu/qfs,chanwit/qfs,quantcast/qfs,qnu/qfs,qnu/qfs,chanwit/qfs,qnu/qfs,thebigbrain/qfs,fengshao0907/qfs,chanwit/qfs,qnu/qfs,chanwit/qfs,fengshao0907/qfs,chanwit/qfs,quantcast/qfs,quantcast/qfs,quantcast/qfs,qnu/qfs,fengshao0907/qfs,quantcast/qfs,fengshao0907/qfs,thebigbrain/qfs,fengshao0907/qfs,qnu/qfs,thebigbrain/qfs,thebigbrain/qfs,chanwit/qfs,chanwit/qfs,fengshao0907/qfs,quantcast/qfs,thebigbrain/qfs,quantcast/qfs,thebigbrain/qfs,chanwit/qfs