wwbmmm commented on code in PR #2574: URL: https://github.com/apache/brpc/pull/2574#discussion_r1527728690
########## src/brpc/socket.h: ########## @@ -198,6 +198,14 @@ struct SocketOptions { // user->BeforeRecycle() before recycling. int fd; butil::EndPoint remote_side; + // If `connect_on_create' is true and `fd' is less than 0, + // a client connection will be established to remote_side() + // regarding deadline `abstime' when Socket is being created. + // Default: false, means that a connection will be established + // on first write. + bool connect_on_create; + // Default: NULL, means no timeout. + const timespec* abstime; Review Comment: 叫connect_abstime更明确? -- 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