wwbmmm commented on code in PR #2560: URL: https://github.com/apache/brpc/pull/2560#discussion_r1519078386
########## src/brpc/socket_inl.h: ########## @@ -176,17 +119,25 @@ inline void Socket::ReAddress(SocketUniquePtr* ptr) { } inline int Socket::AddressFailedAsWell(SocketId id, SocketUniquePtr* ptr) { + return AddressImpl(id, true, ptr); +} + +inline int Socket::AddressImpl(SocketId id, Review Comment: 这里为什么不复用VersionedRefWithId<T>::AddressImpl ? -- 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