【发布时间】:2019-02-08 22:22:44
【问题描述】:
我有一个带有 Poco 模块的应用程序用于互联网连接,以支持使用旧版 XP 和 Vista 操作系统的用户使用 TLS1.2 连接。存在返回 Poco 错误代码的连接问题,但我不知道这意味着什么。这是日志输出的一部分:
poco_connection::end_receiving_response_body entered
poco_connection::close entered
poco_session::destroy_connection entered
poco_connection::end_transaction entered (code 0x00280166, hresult 0x00000000, closing: FALSE)
--------- 043d7450 (Closing request)
poco_connection::transaction_notify entered (code 0x00280166, hresult 0x00000000): Status: 3
Poco Communication Failed: code 0x00280166, hresult 0x00000000
poco_connection::~poco_connection entered
一点研究表明有一个类 Poco::Error 包含一个方法
静态 std::string getMessage( 错误代码 );
返回错误的文本字符串。不幸的是,我没有 Poco 模块的源代码,因此无法添加该翻译调用。
由于 Poco 是一个开源项目,谁能指出我可以查找 Poco 错误映射的代码位置?具体错误代码0x00280166
【问题讨论】: