ShemShadrack commented on code in PR #3399:
URL: https://github.com/apache/thrift/pull/3399#discussion_r3140641053
##########
lib/rs/src/transport/socket.rs:
##########
@@ -82,9 +89,42 @@ impl TTcpChannel {
pub fn with_stream(stream: TcpStream) -> TTcpChannel {
TTcpChannel {
stream: Some(stream),
+ read_timeout: None,
+ write_timeout: None,
}
Review Comment:
I’ll update `with_stream` so the cached timeout state matches the wrapped
`TcpStream` instead of always defaulting to None.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]