{"action":"created","issue":{"url":"https://api.github.com/repos/RexOps/Rex/issues/820","labels_url":"https://api.github.com/repos/RexOps/Rex/issues/820/labels{/name}","comments_url":"https://api.github.com/repos/RexOps/Rex/issues/820/comments","events_url":"https://api.github.com/repos/RexOps/Rex/issues/820/events","html_url":"https://github.com/RexOps/Rex/pull/820","id":114497636,"number":820,"title":"Read STDOUT and STDERR in parallel (fix #756)","user":{"login":"ferki","id":3117609,"avatar_url":"https://avatars.githubusercontent.com/u/3117609?v=3","gravatar_id":"","url":"https://api.github.com/users/ferki","html_url":"https://github.com/ferki","followers_url":"https://api.github.com/users/ferki/followers","following_url":"https://api.github.com/users/ferki/following{/other_user}","gists_url":"https://api.github.com/users/ferki/gists{/gist_id}","starred_url":"https://api.github.com/users/ferki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferki/subscriptions","organizations_url":"https://api.github.com/users/ferki/orgs","repos_url":"https://api.github.com/users/ferki/repos","events_url":"https://api.github.com/users/ferki/events{/privacy}","received_events_url":"https://api.github.com/users/ferki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/RexOps/Rex/milestones/48","html_url":"https://github.com/RexOps/Rex/milestones/1.4.0","labels_url":"https://api.github.com/repos/RexOps/Rex/milestones/48/labels","id":1141097,"number":48,"title":"1.4.0","description":"","creator":{"login":"ferki","id":3117609,"avatar_url":"https://avatars.githubusercontent.com/u/3117609?v=3","gravatar_id":"","url":"https://api.github.com/users/ferki","html_url":"https://github.com/ferki","followers_url":"https://api.github.com/users/ferki/followers","following_url":"https://api.github.com/users/ferki/following{/other_user}","gists_url":"https://api.github.com/users/ferki/gists{/gist_id}","starred_url":"https://api.github.com/users/ferki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferki/subscriptions","organizations_url":"https://api.github.com/users/ferki/orgs","repos_url":"https://api.github.com/users/ferki/repos","events_url":"https://api.github.com/users/ferki/events{/privacy}","received_events_url":"https://api.github.com/users/ferki/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":80,"state":"open","created_at":"2015-05-30T08:52:31Z","updated_at":"2015-12-29T18:53:20Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-01T22:37:36Z","updated_at":"2015-12-29T18:53:20Z","closed_at":"2015-12-29T18:53:20Z","pull_request":{"url":"https://api.github.com/repos/RexOps/Rex/pulls/820","html_url":"https://github.com/RexOps/Rex/pull/820","diff_url":"https://github.com/RexOps/Rex/pull/820.diff","patch_url":"https://github.com/RexOps/Rex/pull/820.patch"},"body":"Draining the pipes for both STDOUT and STDERR line-by-line whenever any of them has readable data, we can prevent filling up their transfer windows (64k on my machine), which in turn causes the process on the other end of the pipes to wait until the filled buffer gets drained. This should fix #756.\n\nTested manually by me with OpenSSH and Local connection methods, with both enabled and disabled `Rex::Config->set_no_tty`. I'm not sure how to test it programmatically though."},"comment":{"url":"https://api.github.com/repos/RexOps/Rex/issues/comments/167852463","html_url":"https://github.com/RexOps/Rex/pull/820#issuecomment-167852463","issue_url":"https://api.github.com/repos/RexOps/Rex/issues/820","id":167852463,"user":{"login":"krimdomu","id":388436,"avatar_url":"https://avatars.githubusercontent.com/u/388436?v=3","gravatar_id":"","url":"https://api.github.com/users/krimdomu","html_url":"https://github.com/krimdomu","followers_url":"https://api.github.com/users/krimdomu/followers","following_url":"https://api.github.com/users/krimdomu/following{/other_user}","gists_url":"https://api.github.com/users/krimdomu/gists{/gist_id}","starred_url":"https://api.github.com/users/krimdomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krimdomu/subscriptions","organizations_url":"https://api.github.com/users/krimdomu/orgs","repos_url":"https://api.github.com/users/krimdomu/repos","events_url":"https://api.github.com/users/krimdomu/events{/privacy}","received_events_url":"https://api.github.com/users/krimdomu/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T18:53:20Z","updated_at":"2015-12-29T18:53:20Z","body":"I've merged this into 1.4rc branch, because this fixes #884 "}}