Update minio-go

This fixes #520.
This commit is contained in:
Alexander Neumann
2016-06-08 21:11:30 +02:00
parent e1b5593e07
commit d66a98c2db
39 changed files with 458 additions and 276 deletions
@@ -59,6 +59,9 @@ func (c Client) GetObject(bucketName, objectName string) (*Object, error) {
select {
// When the done channel is closed exit our routine.
case <-doneCh:
// Close the http response body before returning.
// This ends the connection with the server.
httpReader.Close()
return
// Request message.
case req := <-reqCh: