简体   繁体   English

使用ssl增强asio的详细程度

[英]Verbosity in boost asio using ssl

Is there a way to make ssl handshake more visible to me using boost asio? 有没有办法使用boost asio让我更容易看到ssl握手? I am getting an error: "asio.ssl error". 我收到一个错误:“asio.ssl错误”。 I just want more verbosity, because this message means almost nothing to me. 我只想要更多的冗长,因为这个消息对我来说几乎没有任何意义。

I found that boost.asio with ssl use openssl. 我发现使用ssl的boost.asio使用openssl。

I just need to recompile the libssl with debug flags to make ssl handshake process more verbose. 我只需要用调试标志重新编译libssl,使ssl握手过程更加冗长。 I can do this just reconfiguring with './config -DKSSL_DEBUG'. 我可以使用'./config -DKSSL_DEBUG'重新配置。

In the boost documentation I found no way to control the verbosity level. 在boost文档中,我发现无法控制详细级别。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM