mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Rewrite connection muxer peek process to avoid server blocking by silent clients (#3187)
This commit is contained in:
committed by
Harshavardhana
parent
754c0770d6
commit
5ff30777e1
@@ -59,11 +59,8 @@ func runTest(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
ln = &ListenerMux{
|
||||
Listener: ln,
|
||||
config: &tls.Config{},
|
||||
cond: sync.NewCond(&sync.Mutex{}),
|
||||
}
|
||||
|
||||
ln = newListenerMux(ln, &tls.Config{})
|
||||
|
||||
addr := ln.Addr().String()
|
||||
waitForListener := make(chan error)
|
||||
|
||||
Reference in New Issue
Block a user