{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/14675","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/14675/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/14675/comments","events_url":"https://api.github.com/repos/golang/go/issues/14675/events","html_url":"https://github.com/golang/go/issues/14675","id":138832929,"number":14675,"title":"compress/zlib.reader returns unexpected EOF when calling Read() after EOF","user":{"login":"AsamK","id":2340865,"avatar_url":"https://avatars.githubusercontent.com/u/2340865?v=3","gravatar_id":"","url":"https://api.github.com/users/AsamK","html_url":"https://github.com/AsamK","followers_url":"https://api.github.com/users/AsamK/followers","following_url":"https://api.github.com/users/AsamK/following{/other_user}","gists_url":"https://api.github.com/users/AsamK/gists{/gist_id}","starred_url":"https://api.github.com/users/AsamK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsamK/subscriptions","organizations_url":"https://api.github.com/users/AsamK/orgs","repos_url":"https://api.github.com/users/AsamK/repos","events_url":"https://api.github.com/users/AsamK/events{/privacy}","received_events_url":"https://api.github.com/users/AsamK/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-06T20:18:19Z","updated_at":"2016-03-07T22:10:24Z","closed_at":"2016-03-07T18:34:34Z","body":"1. What version of Go are you using (`go version`)?\r\ngo1.6\r\n\r\n2. What operating system and processor architecture are you using (`go env`)?\r\nlinux/amd64\r\n\r\n3. What did you do?\r\nTest returning of EOF and unexpected EOF\r\nhttps://play.golang.org/p/RJfp3HgcQ5\r\n\r\n4. What did you expect to see?\r\nThe last read should return EOF\r\n\r\n5. What did you see instead?\r\nThe last read returns UnexpectedEOF\r\nThe issue was triggered by b1797390b95d1ffd3d97b19532bf451719d42fd5 , which introduced unexpected EOF for truncated streams.\r\n\r\nI'm not certain, if the io.Read() interface guarantees that calls after the first one that returned EOF should also return EOF, but returning \"unexpected EOF\" is definitely unexpected."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/193478400","html_url":"https://github.com/golang/go/issues/14675#issuecomment-193478400","issue_url":"https://api.github.com/repos/golang/go/issues/14675","id":193478400,"user":{"login":"AsamK","id":2340865,"avatar_url":"https://avatars.githubusercontent.com/u/2340865?v=3","gravatar_id":"","url":"https://api.github.com/users/AsamK","html_url":"https://github.com/AsamK","followers_url":"https://api.github.com/users/AsamK/followers","following_url":"https://api.github.com/users/AsamK/following{/other_user}","gists_url":"https://api.github.com/users/AsamK/gists{/gist_id}","starred_url":"https://api.github.com/users/AsamK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsamK/subscriptions","organizations_url":"https://api.github.com/users/AsamK/orgs","repos_url":"https://api.github.com/users/AsamK/repos","events_url":"https://api.github.com/users/AsamK/events{/privacy}","received_events_url":"https://api.github.com/users/AsamK/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T22:10:24Z","updated_at":"2016-03-07T22:10:24Z","body":"Thanks for fixing this so quickly, will the fix be included in a 1.6.1 release?"}}