antkiller996 commented on issue #2424:
URL: https://github.com/apache/brpc/issues/2424#issuecomment-1782171574

   
client端不需要。如果client与server端发起主动关闭链接,server端这边要回调;server端与client端主动发起的,也要回调;另外SocketFailed和close(fd)这两个时机其实无所谓,最好是能保证exactly
 once的语义。当OnCloseConnection回调执行完后,保证server端fd不能读写即可


-- 
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