{"action":"created","issue":{"url":"https://api.github.com/repos/emicklei/go-restful/issues/258","labels_url":"https://api.github.com/repos/emicklei/go-restful/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/emicklei/go-restful/issues/258/comments","events_url":"https://api.github.com/repos/emicklei/go-restful/issues/258/events","html_url":"https://github.com/emicklei/go-restful/pull/258","id":118858138,"number":258,"title":"Fix: nil pointer dereference when writing using closed compressor","user":{"login":"mtojek","id":14044910,"avatar_url":"https://avatars.githubusercontent.com/u/14044910?v=3","gravatar_id":"","url":"https://api.github.com/users/mtojek","html_url":"https://github.com/mtojek","followers_url":"https://api.github.com/users/mtojek/followers","following_url":"https://api.github.com/users/mtojek/following{/other_user}","gists_url":"https://api.github.com/users/mtojek/gists{/gist_id}","starred_url":"https://api.github.com/users/mtojek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtojek/subscriptions","organizations_url":"https://api.github.com/users/mtojek/orgs","repos_url":"https://api.github.com/users/mtojek/repos","events_url":"https://api.github.com/users/mtojek/events{/privacy}","received_events_url":"https://api.github.com/users/mtojek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-25T15:18:54Z","updated_at":"2015-11-25T15:24:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/emicklei/go-restful/pulls/258","html_url":"https://github.com/emicklei/go-restful/pull/258","diff_url":"https://github.com/emicklei/go-restful/pull/258.diff","patch_url":"https://github.com/emicklei/go-restful/pull/258.patch"},"body":"Hi,\r\n\r\nhaving a defined container with enabled compression, it may occur an accidential situation when a Write operation is perfomed after a Close (compressor) operation. The result of such operation order (Write - Close - Write) is a nil ptr dereference and application \"tango down\" ;)\r\nI've added the compressor presence check.\r\n\r\nBest regards,\r\nMarcin"},"comment":{"url":"https://api.github.com/repos/emicklei/go-restful/issues/comments/159639876","html_url":"https://github.com/emicklei/go-restful/pull/258#issuecomment-159639876","issue_url":"https://api.github.com/repos/emicklei/go-restful/issues/258","id":159639876,"user":{"login":"emicklei","id":686220,"avatar_url":"https://avatars.githubusercontent.com/u/686220?v=3","gravatar_id":"","url":"https://api.github.com/users/emicklei","html_url":"https://github.com/emicklei","followers_url":"https://api.github.com/users/emicklei/followers","following_url":"https://api.github.com/users/emicklei/following{/other_user}","gists_url":"https://api.github.com/users/emicklei/gists{/gist_id}","starred_url":"https://api.github.com/users/emicklei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emicklei/subscriptions","organizations_url":"https://api.github.com/users/emicklei/orgs","repos_url":"https://api.github.com/users/emicklei/repos","events_url":"https://api.github.com/users/emicklei/events{/privacy}","received_events_url":"https://api.github.com/users/emicklei/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T15:24:34Z","updated_at":"2015-11-25T15:24:34Z","body":"Thank you for reporting your issue and safety fix. "}}