mirror of https://github.com/perkeep/perkeep.git
remove unnecessary channel closes, one of which was buggy
This commit is contained in:
parent
c56f82c5dd
commit
0de477e15f
|
@ -122,8 +122,6 @@ func handleEnumerateBlobs(conn http.ResponseWriter, req *http.Request, storage b
|
|||
case err := <-resultch:
|
||||
if err != nil {
|
||||
log.Printf("Error during enumerate: %v", err)
|
||||
close(blobch) // TODO: necessary?
|
||||
close(resultch) // TODO: necessary?
|
||||
fmt.Fprintf(conn, "{{{ SERVER ERROR }}}")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue