You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2026/01/05 15:02:40 UTC

(arrow-rs-object-store) branch main updated: fix: `SO_LINGER` w/ zero doesn't block (also: it's just a test) (#592)

This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs-object-store.git


The following commit(s) were added to refs/heads/main by this push:
     new 78717c5  fix: `SO_LINGER` w/ zero doesn't block (also: it's just a test) (#592)
78717c5 is described below

commit 78717c522d74c8a680c5dc8724ce6569914177f3
Author: Marco Neumann <ma...@crepererum.net>
AuthorDate: Mon Jan 5 09:02:34 2026 -0600

    fix: `SO_LINGER` w/ zero doesn't block (also: it's just a test) (#592)
---
 src/client/retry.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/client/retry.rs b/src/client/retry.rs
index 186725b..5437896 100644
--- a/src/client/retry.rs
+++ b/src/client/retry.rs
@@ -848,6 +848,10 @@ mod tests {
     }
 
     #[tokio::test]
+    #[expect(
+        deprecated,
+        reason = "SO_LINGER w/ zero timeout doesn't block, see https://github.com/tokio-rs/tokio/issues/7751#issuecomment-3709831265"
+    )]
     async fn test_connection_reset_is_retried() {
         let retry = RetryConfig {
             backoff: Default::default(),