Verbosity in boost asio using ssl

[亡魂溺海] 提交于 2019-12-10 10:19:50

问题


Is there a way to make ssl handshake more visible to me using boost asio? I am getting an error: "asio.ssl error". I just want more verbosity, because this message means almost nothing to me.


回答1:


I found that boost.asio with ssl use openssl.

I just need to recompile the libssl with debug flags to make ssl handshake process more verbose. I can do this just reconfiguring with './config -DKSSL_DEBUG'.

In the boost documentation I found no way to control the verbosity level.



来源:https://stackoverflow.com/questions/2448715/verbosity-in-boost-asio-using-ssl

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