{"action":"created","issue":{"url":"https://api.github.com/repos/garyburd/redigo/issues/143","labels_url":"https://api.github.com/repos/garyburd/redigo/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/garyburd/redigo/issues/143/comments","events_url":"https://api.github.com/repos/garyburd/redigo/issues/143/events","html_url":"https://github.com/garyburd/redigo/pull/143","id":102295266,"number":143,"title":"Handling SHUTDOWN command correctly","user":{"login":"danielalves","id":522602,"avatar_url":"https://avatars.githubusercontent.com/u/522602?v=3","gravatar_id":"","url":"https://api.github.com/users/danielalves","html_url":"https://github.com/danielalves","followers_url":"https://api.github.com/users/danielalves/followers","following_url":"https://api.github.com/users/danielalves/following{/other_user}","gists_url":"https://api.github.com/users/danielalves/gists{/gist_id}","starred_url":"https://api.github.com/users/danielalves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielalves/subscriptions","organizations_url":"https://api.github.com/users/danielalves/orgs","repos_url":"https://api.github.com/users/danielalves/repos","events_url":"https://api.github.com/users/danielalves/events{/privacy}","received_events_url":"https://api.github.com/users/danielalves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-21T04:19:45Z","updated_at":"2015-08-22T20:07:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/garyburd/redigo/pulls/143","html_url":"https://github.com/garyburd/redigo/pull/143","diff_url":"https://github.com/garyburd/redigo/pull/143.diff","patch_url":"https://github.com/garyburd/redigo/pull/143.patch"},"body":"Currently, the `SHUTDOWN` command always returns an error. This PR fixes that."},"comment":{"url":"https://api.github.com/repos/garyburd/redigo/issues/comments/133750619","html_url":"https://github.com/garyburd/redigo/pull/143#issuecomment-133750619","issue_url":"https://api.github.com/repos/garyburd/redigo/issues/143","id":133750619,"user":{"login":"danielalves","id":522602,"avatar_url":"https://avatars.githubusercontent.com/u/522602?v=3","gravatar_id":"","url":"https://api.github.com/users/danielalves","html_url":"https://github.com/danielalves","followers_url":"https://api.github.com/users/danielalves/followers","following_url":"https://api.github.com/users/danielalves/following{/other_user}","gists_url":"https://api.github.com/users/danielalves/gists{/gist_id}","starred_url":"https://api.github.com/users/danielalves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielalves/subscriptions","organizations_url":"https://api.github.com/users/danielalves/orgs","repos_url":"https://api.github.com/users/danielalves/repos","events_url":"https://api.github.com/users/danielalves/events{/privacy}","received_events_url":"https://api.github.com/users/danielalves/received_events","type":"User","site_admin":false},"created_at":"2015-08-22T20:07:45Z","updated_at":"2015-08-22T20:07:45Z","body":"@garyburd I see, but this is strange since `io.EOF` is the same error returned when a connection goes down, so I'm not able to know if everything went alright with the `SHUTDOWN` command or if something went wrong with the connection. Besides that, this is not really an *error*, this is the expected behavior (to close the connection after the shutdown), so I thought it would be better to return `nil, nil`. What do you think?"}}