总的来说,开放式特别图书馆似乎提供了两种方式来做一切:你可以使用与贵图书馆相容的便衣系统,也可以使用“开放式特别系统”<代码>BIO,即像溪流这样的物体。
However, I m often confused by some of the duplicated functionality. For example, how do you make an SSL connection non-blocking? One way seems to be to simply access the underlying file descriptor and set it to non-blocking using fcntl
. But there is also an OpenSSL API function called BIO_set_nbio
which takes in a BIO*
object and sets it to non-blocking mode.
因此,建立无锁定的SSL名册的最佳途径是什么? 如果你通过开放式特别安全局,通过<代码>fnctl向非锁定模式发放