mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
Closing channel when http server dies
Fixing deadlock on error
This commit is contained in:
@@ -27,7 +27,7 @@ func Start() {
|
||||
|
||||
cases := createSelectCases(statusChans)
|
||||
|
||||
for {
|
||||
for len(cases) > 0 {
|
||||
chosen, value, recvOk := reflect.Select(cases)
|
||||
if recvOk == true {
|
||||
// Status Message Received
|
||||
|
||||
Reference in New Issue
Block a user