Huixxi commented on PR #2451:
URL: https://github.com/apache/brpc/pull/2451#issuecomment-1826764900

   > 
[SSL_read](https://linux.die.net/man/3/ssl_get_error)文档中提到,这个场景只是读到EOF而已,不算是错误。
   > 
   > > SSL_ERROR_SYSCALL
   > > Some I/O error occurred. The OpenSSL error queue may contain more 
information on the error. If the error queue is empty (i.e. ERR_get_error() 
returns 0), ret can be used to find out more about the error: If ret == 0, an 
EOF was observed that violates the protocol. If ret == -1, the underlying BIO 
reported an I/O error (for socket I/O on Unix systems, consult errno for 
details).
   
   EOF只是ret==0的时候吧,ret==-1的时候该怎么判断呢?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to