Openssl Handshake failures after thousands of successful connections

前提是你 提交于 2019-12-08 03:13:53

问题


I'm having a problem where my server stops accepting connections sometimes after thousands of successful connections. I create a global SSL_CTX once, and then an SSL object for every connection, which I dispose every time. I'm using version 1.0.2h.

Once the problem occurs, the only way to get around it is to restart the server, basically recreating the context. As far as I can tell, the context "looks" fine, and the so does the session object. I have watched the network traffic using wireshark, and every packet looks fine until the handshake fails.

Does anyone have any suggestions on how to debug this issue?

Thanks.

来源:https://stackoverflow.com/questions/39080905/openssl-handshake-failures-after-thousands-of-successful-connections

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!