{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/6069","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/6069/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/6069/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/6069/events","html_url":"https://github.com/nodejs/node/pull/6069","id":146132165,"number":6069,"title":"zlib: Make the finish flush flag configurable","user":{"login":"addaleax","id":899444,"avatar_url":"https://avatars.githubusercontent.com/u/899444?v=3","gravatar_id":"","url":"https://api.github.com/users/addaleax","html_url":"https://github.com/addaleax","followers_url":"https://api.github.com/users/addaleax/followers","following_url":"https://api.github.com/users/addaleax/following{/other_user}","gists_url":"https://api.github.com/users/addaleax/gists{/gist_id}","starred_url":"https://api.github.com/users/addaleax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addaleax/subscriptions","organizations_url":"https://api.github.com/users/addaleax/orgs","repos_url":"https://api.github.com/users/addaleax/repos","events_url":"https://api.github.com/users/addaleax/events{/privacy}","received_events_url":"https://api.github.com/users/addaleax/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/semver-minor","name":"semver-minor","color":"fef2c0"},{"url":"https://api.github.com/repos/nodejs/node/labels/zlib","name":"zlib","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-05T23:01:47Z","updated_at":"2016-04-07T13:59:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/6069","html_url":"https://github.com/nodejs/node/pull/6069","diff_url":"https://github.com/nodejs/node/pull/6069.diff","patch_url":"https://github.com/nodejs/node/pull/6069.patch"},"body":"### Pull Request check-list\r\n\r\n- [x] Does `make -j8 test` (UNIX) or `vcbuild test nosign` (Windows) pass with\r\n  this change (including linting)?\r\n- [x] Is the commit message formatted according to [CONTRIBUTING.md][0]?\r\n- [x] If this change fixes a bug (or a performance problem), is a regression\r\n  test (or a benchmark) included?\r\n- [x] Is a documentation update included (if this change modifies\r\n  existing APIs, or introduces new ones)?\r\n\r\n### Affected core subsystem(s)\r\n\r\nzlib\r\n\r\n[0]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit\r\n\r\n### Description of change\r\n\r\nUp to now, `Z_FINISH` was always the flushing flag that was used for the last chunk of input data. This patch makes this choice configurable so that advanced users can perform e.g. decompression of partial data using `Z_SYNC_FLUSH`, if that suits their needs.\r\n\r\nThis was requested in #4030 and #5761.\r\n\r\nFixes: https://github.com/nodejs/node/issues/5761"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/206920067","html_url":"https://github.com/nodejs/node/pull/6069#issuecomment-206920067","issue_url":"https://api.github.com/repos/nodejs/node/issues/6069","id":206920067,"user":{"login":"romankl","id":1848357,"avatar_url":"https://avatars.githubusercontent.com/u/1848357?v=3","gravatar_id":"","url":"https://api.github.com/users/romankl","html_url":"https://github.com/romankl","followers_url":"https://api.github.com/users/romankl/followers","following_url":"https://api.github.com/users/romankl/following{/other_user}","gists_url":"https://api.github.com/users/romankl/gists{/gist_id}","starred_url":"https://api.github.com/users/romankl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romankl/subscriptions","organizations_url":"https://api.github.com/users/romankl/orgs","repos_url":"https://api.github.com/users/romankl/repos","events_url":"https://api.github.com/users/romankl/events{/privacy}","received_events_url":"https://api.github.com/users/romankl/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T13:59:09Z","updated_at":"2016-04-07T13:59:09Z","body":"And here is a CI run: https://ci.nodejs.org/job/node-test-pull-request/2197/"}}