alamb commented on code in PR #597:
URL:
https://github.com/apache/arrow-rs-object-store/pull/597#discussion_r2673727397
##########
src/client/retry.rs:
##########
@@ -844,6 +844,8 @@ mod tests {
// Reset the connection on the first n-1 attempts
for _ in 0..retry.max_retries {
let (stream, _) = listener.accept().await.unwrap();
+ // TcpStream::set_linger is deprecated but this use case is
valid to reset the stream
+ #[allow(deprecated)]
stream.set_linger(Some(Duration::from_secs(0))).unwrap();
Review Comment:
Indeed -- @crepererum fixed the same issue in basically the same way on main
in
- https://github.com/apache/arrow-rs-object-store/pull/592
--
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]