我在iOS上有一个简单的HelloWorld程序。相同的代码已经很长时间以来一直运行良好。最近,当我将iPad连接到我的Macbook上的Xcode 9时,注意到程序运行时会出现以下BoringSSL错误。当我在模拟器中运行程序时,没有看到此错误。 iOS版本为11.2。Xcode版本为9.2。
我的代码没有涉及到BoringSSL。但是,它确实使用NSMutableURLRequest向服务器发出https调用。调用工作正常,除了BoringSSL消息之外,一切似乎都正常。
有什么方法可以调试出现消息的原因吗?HellowWorld [466:85961],这两个数字代表什么意思?
消息的含义是什么,如何避免它?
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