我有一个在iOS上运行的简单程序HelloWorld.相同的代码已经运行了很长时间.最近,我注意到当程序在我的Macbook上连接到XCode 9的ipad上运行时,我得到了以下BoringSSL错误.我在模拟器中运行程序时没有看到此错误.iOS是11.2.Xcode是9.2.
我的代码没有引用BoringSSL.但是,它确实使用NSMutableURLRequest来对服务器进行https调用.该调用工作正常,除了BoringSSL消息外,一切似乎都能正常工作.
有没有办法可以调试消息出现的原因?HellowWorld [466:85961],这2个数字是什么意思?
有谁知道这个消息意味着什么以及如何避免它?
2017-12-13 15:41:13.486047-0500 HellowWorld[466:85961] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert
2017-12-13 15:41:13.486363-0500 HellowWorld[466:85961] [BoringSSL] Function boringssl_session_errorlog: line 2871 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert
Run Code Online (Sandbox Code Playgroud)