{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio-go/issues/467","repository_url":"https://api.github.com/repos/minio/minio-go","labels_url":"https://api.github.com/repos/minio/minio-go/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio-go/issues/467/comments","events_url":"https://api.github.com/repos/minio/minio-go/issues/467/events","html_url":"https://github.com/minio/minio-go/issues/467","id":168348283,"number":467,"title":"httpReader can be closed when no reference on minio.Object","user":{"login":"krishnasrinivas","id":634494,"avatar_url":"https://avatars.githubusercontent.com/u/634494?v=3","gravatar_id":"","url":"https://api.github.com/users/krishnasrinivas","html_url":"https://github.com/krishnasrinivas","followers_url":"https://api.github.com/users/krishnasrinivas/followers","following_url":"https://api.github.com/users/krishnasrinivas/following{/other_user}","gists_url":"https://api.github.com/users/krishnasrinivas/gists{/gist_id}","starred_url":"https://api.github.com/users/krishnasrinivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishnasrinivas/subscriptions","organizations_url":"https://api.github.com/users/krishnasrinivas/orgs","repos_url":"https://api.github.com/users/krishnasrinivas/repos","events_url":"https://api.github.com/users/krishnasrinivas/events{/privacy}","received_events_url":"https://api.github.com/users/krishnasrinivas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-29T15:17:10Z","updated_at":"2016-07-29T15:40:33Z","closed_at":"2016-07-29T15:40:33Z","body":"To avoid bugs like this: https://github.com/restic/restic/pull/552\r\nwe can automatically do httpReader.Close() when minio.Object is garbage collected."},"comment":{"url":"https://api.github.com/repos/minio/minio-go/issues/comments/236215030","html_url":"https://github.com/minio/minio-go/issues/467#issuecomment-236215030","issue_url":"https://api.github.com/repos/minio/minio-go/issues/467","id":236215030,"user":{"login":"krishnasrinivas","id":634494,"avatar_url":"https://avatars.githubusercontent.com/u/634494?v=3","gravatar_id":"","url":"https://api.github.com/users/krishnasrinivas","html_url":"https://github.com/krishnasrinivas","followers_url":"https://api.github.com/users/krishnasrinivas/followers","following_url":"https://api.github.com/users/krishnasrinivas/following{/other_user}","gists_url":"https://api.github.com/users/krishnasrinivas/gists{/gist_id}","starred_url":"https://api.github.com/users/krishnasrinivas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krishnasrinivas/subscriptions","organizations_url":"https://api.github.com/users/krishnasrinivas/orgs","repos_url":"https://api.github.com/users/krishnasrinivas/repos","events_url":"https://api.github.com/users/krishnasrinivas/events{/privacy}","received_events_url":"https://api.github.com/users/krishnasrinivas/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T15:40:33Z","updated_at":"2016-07-29T15:40:33Z","body":"> But it advised not to do these things, applications have to handle this.\r\n\r\nThat is true, golang guys might decide to deprecate SetFinalizer.\r\n\r\nLooks like there is no other way.\r\n"}}
{"actor":{"display_login":"krishnasrinivas"}}