mirror of
https://github.com/minio/minio.git
synced 2025-11-22 18:47:43 -05:00
rpc: Do not use read/write deadlines for rpc connections. (#4647)
Fixes #4626
This commit is contained in:
committed by
Krishna Srinivas
parent
c59b995f7b
commit
f8bd9cfd83
@@ -79,6 +79,9 @@ func TestBuffConnReadTimeout(t *testing.T) {
|
||||
if terr != nil {
|
||||
t.Fatalf("failed to write to client. %v", terr)
|
||||
}
|
||||
|
||||
// Removes all deadlines if any.
|
||||
bufconn.RemoveTimeout()
|
||||
}()
|
||||
|
||||
c, err := net.Dial("tcp", "localhost:"+port)
|
||||
|
||||
Reference in New Issue
Block a user