{"action":"closed","number":38,"pull_request":{"url":"https://api.github.com/repos/spmjs/node-scp2/pulls/38","id":40344200,"html_url":"https://github.com/spmjs/node-scp2/pull/38","diff_url":"https://github.com/spmjs/node-scp2/pull/38.diff","patch_url":"https://github.com/spmjs/node-scp2/pull/38.patch","issue_url":"https://api.github.com/repos/spmjs/node-scp2/issues/38","number":38,"state":"closed","locked":false,"title":"Fixes #30. Closes conection when downloading a single file","user":{"login":"germanrio","id":3079816,"avatar_url":"https://avatars.githubusercontent.com/u/3079816?v=3","gravatar_id":"","url":"https://api.github.com/users/germanrio","html_url":"https://github.com/germanrio","followers_url":"https://api.github.com/users/germanrio/followers","following_url":"https://api.github.com/users/germanrio/following{/other_user}","gists_url":"https://api.github.com/users/germanrio/gists{/gist_id}","starred_url":"https://api.github.com/users/germanrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germanrio/subscriptions","organizations_url":"https://api.github.com/users/germanrio/orgs","repos_url":"https://api.github.com/users/germanrio/repos","events_url":"https://api.github.com/users/germanrio/events{/privacy}","received_events_url":"https://api.github.com/users/germanrio/received_events","type":"User","site_admin":false},"body":"Also faced the not closing connection problem when downloading locally. This PR can fix it.","created_at":"2015-07-20T11:49:01Z","updated_at":"2015-07-20T11:55:07Z","closed_at":"2015-07-20T11:55:07Z","merged_at":"2015-07-20T11:55:07Z","merge_commit_sha":"a2cea468a43a28bdbb070afb4e61dfe0711ebfb6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spmjs/node-scp2/pulls/38/commits","review_comments_url":"https://api.github.com/repos/spmjs/node-scp2/pulls/38/comments","review_comment_url":"https://api.github.com/repos/spmjs/node-scp2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spmjs/node-scp2/issues/38/comments","statuses_url":"https://api.github.com/repos/spmjs/node-scp2/statuses/8ef95bfd38913178b094b2c0bb8870064ef9a438","head":{"label":"germanrio:Close_connection_scp_downloading","ref":"Close_connection_scp_downloading","sha":"8ef95bfd38913178b094b2c0bb8870064ef9a438","user":{"login":"germanrio","id":3079816,"avatar_url":"https://avatars.githubusercontent.com/u/3079816?v=3","gravatar_id":"","url":"https://api.github.com/users/germanrio","html_url":"https://github.com/germanrio","followers_url":"https://api.github.com/users/germanrio/followers","following_url":"https://api.github.com/users/germanrio/following{/other_user}","gists_url":"https://api.github.com/users/germanrio/gists{/gist_id}","starred_url":"https://api.github.com/users/germanrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germanrio/subscriptions","organizations_url":"https://api.github.com/users/germanrio/orgs","repos_url":"https://api.github.com/users/germanrio/repos","events_url":"https://api.github.com/users/germanrio/events{/privacy}","received_events_url":"https://api.github.com/users/germanrio/received_events","type":"User","site_admin":false},"repo":{"id":39380180,"name":"node-scp2","full_name":"germanrio/node-scp2","owner":{"login":"germanrio","id":3079816,"avatar_url":"https://avatars.githubusercontent.com/u/3079816?v=3","gravatar_id":"","url":"https://api.github.com/users/germanrio","html_url":"https://github.com/germanrio","followers_url":"https://api.github.com/users/germanrio/followers","following_url":"https://api.github.com/users/germanrio/following{/other_user}","gists_url":"https://api.github.com/users/germanrio/gists{/gist_id}","starred_url":"https://api.github.com/users/germanrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germanrio/subscriptions","organizations_url":"https://api.github.com/users/germanrio/orgs","repos_url":"https://api.github.com/users/germanrio/repos","events_url":"https://api.github.com/users/germanrio/events{/privacy}","received_events_url":"https://api.github.com/users/germanrio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/germanrio/node-scp2","description":"A pure javascript scp program based on ssh2.","fork":true,"url":"https://api.github.com/repos/germanrio/node-scp2","forks_url":"https://api.github.com/repos/germanrio/node-scp2/forks","keys_url":"https://api.github.com/repos/germanrio/node-scp2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/germanrio/node-scp2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/germanrio/node-scp2/teams","hooks_url":"https://api.github.com/repos/germanrio/node-scp2/hooks","issue_events_url":"https://api.github.com/repos/germanrio/node-scp2/issues/events{/number}","events_url":"https://api.github.com/repos/germanrio/node-scp2/events","assignees_url":"https://api.github.com/repos/germanrio/node-scp2/assignees{/user}","branches_url":"https://api.github.com/repos/germanrio/node-scp2/branches{/branch}","tags_url":"https://api.github.com/repos/germanrio/node-scp2/tags","blobs_url":"https://api.github.com/repos/germanrio/node-scp2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/germanrio/node-scp2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/germanrio/node-scp2/git/refs{/sha}","trees_url":"https://api.github.com/repos/germanrio/node-scp2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/germanrio/node-scp2/statuses/{sha}","languages_url":"https://api.github.com/repos/germanrio/node-scp2/languages","stargazers_url":"https://api.github.com/repos/germanrio/node-scp2/stargazers","contributors_url":"https://api.github.com/repos/germanrio/node-scp2/contributors","subscribers_url":"https://api.github.com/repos/germanrio/node-scp2/subscribers","subscription_url":"https://api.github.com/repos/germanrio/node-scp2/subscription","commits_url":"https://api.github.com/repos/germanrio/node-scp2/commits{/sha}","git_commits_url":"https://api.github.com/repos/germanrio/node-scp2/git/commits{/sha}","comments_url":"https://api.github.com/repos/germanrio/node-scp2/comments{/number}","issue_comment_url":"https://api.github.com/repos/germanrio/node-scp2/issues/comments{/number}","contents_url":"https://api.github.com/repos/germanrio/node-scp2/contents/{+path}","compare_url":"https://api.github.com/repos/germanrio/node-scp2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/germanrio/node-scp2/merges","archive_url":"https://api.github.com/repos/germanrio/node-scp2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/germanrio/node-scp2/downloads","issues_url":"https://api.github.com/repos/germanrio/node-scp2/issues{/number}","pulls_url":"https://api.github.com/repos/germanrio/node-scp2/pulls{/number}","milestones_url":"https://api.github.com/repos/germanrio/node-scp2/milestones{/number}","notifications_url":"https://api.github.com/repos/germanrio/node-scp2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/germanrio/node-scp2/labels{/name}","releases_url":"https://api.github.com/repos/germanrio/node-scp2/releases{/id}","created_at":"2015-07-20T11:32:33Z","updated_at":"2015-07-20T11:32:34Z","pushed_at":"2015-07-20T11:39:36Z","git_url":"git://github.com/germanrio/node-scp2.git","ssh_url":"git@github.com:germanrio/node-scp2.git","clone_url":"https://github.com/germanrio/node-scp2.git","svn_url":"https://github.com/germanrio/node-scp2","homepage":"","size":115,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spmjs:master","ref":"master","sha":"56fada7e3fbe4bb5898152e739598132595f616b","user":{"login":"spmjs","id":2740060,"avatar_url":"https://avatars.githubusercontent.com/u/2740060?v=3","gravatar_id":"","url":"https://api.github.com/users/spmjs","html_url":"https://github.com/spmjs","followers_url":"https://api.github.com/users/spmjs/followers","following_url":"https://api.github.com/users/spmjs/following{/other_user}","gists_url":"https://api.github.com/users/spmjs/gists{/gist_id}","starred_url":"https://api.github.com/users/spmjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spmjs/subscriptions","organizations_url":"https://api.github.com/users/spmjs/orgs","repos_url":"https://api.github.com/users/spmjs/repos","events_url":"https://api.github.com/users/spmjs/events{/privacy}","received_events_url":"https://api.github.com/users/spmjs/received_events","type":"Organization","site_admin":false},"repo":{"id":8578536,"name":"node-scp2","full_name":"spmjs/node-scp2","owner":{"login":"spmjs","id":2740060,"avatar_url":"https://avatars.githubusercontent.com/u/2740060?v=3","gravatar_id":"","url":"https://api.github.com/users/spmjs","html_url":"https://github.com/spmjs","followers_url":"https://api.github.com/users/spmjs/followers","following_url":"https://api.github.com/users/spmjs/following{/other_user}","gists_url":"https://api.github.com/users/spmjs/gists{/gist_id}","starred_url":"https://api.github.com/users/spmjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spmjs/subscriptions","organizations_url":"https://api.github.com/users/spmjs/orgs","repos_url":"https://api.github.com/users/spmjs/repos","events_url":"https://api.github.com/users/spmjs/events{/privacy}","received_events_url":"https://api.github.com/users/spmjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spmjs/node-scp2","description":"A pure javascript scp program based on ssh2.","fork":false,"url":"https://api.github.com/repos/spmjs/node-scp2","forks_url":"https://api.github.com/repos/spmjs/node-scp2/forks","keys_url":"https://api.github.com/repos/spmjs/node-scp2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spmjs/node-scp2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spmjs/node-scp2/teams","hooks_url":"https://api.github.com/repos/spmjs/node-scp2/hooks","issue_events_url":"https://api.github.com/repos/spmjs/node-scp2/issues/events{/number}","events_url":"https://api.github.com/repos/spmjs/node-scp2/events","assignees_url":"https://api.github.com/repos/spmjs/node-scp2/assignees{/user}","branches_url":"https://api.github.com/repos/spmjs/node-scp2/branches{/branch}","tags_url":"https://api.github.com/repos/spmjs/node-scp2/tags","blobs_url":"https://api.github.com/repos/spmjs/node-scp2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spmjs/node-scp2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spmjs/node-scp2/git/refs{/sha}","trees_url":"https://api.github.com/repos/spmjs/node-scp2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spmjs/node-scp2/statuses/{sha}","languages_url":"https://api.github.com/repos/spmjs/node-scp2/languages","stargazers_url":"https://api.github.com/repos/spmjs/node-scp2/stargazers","contributors_url":"https://api.github.com/repos/spmjs/node-scp2/contributors","subscribers_url":"https://api.github.com/repos/spmjs/node-scp2/subscribers","subscription_url":"https://api.github.com/repos/spmjs/node-scp2/subscription","commits_url":"https://api.github.com/repos/spmjs/node-scp2/commits{/sha}","git_commits_url":"https://api.github.com/repos/spmjs/node-scp2/git/commits{/sha}","comments_url":"https://api.github.com/repos/spmjs/node-scp2/comments{/number}","issue_comment_url":"https://api.github.com/repos/spmjs/node-scp2/issues/comments{/number}","contents_url":"https://api.github.com/repos/spmjs/node-scp2/contents/{+path}","compare_url":"https://api.github.com/repos/spmjs/node-scp2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spmjs/node-scp2/merges","archive_url":"https://api.github.com/repos/spmjs/node-scp2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spmjs/node-scp2/downloads","issues_url":"https://api.github.com/repos/spmjs/node-scp2/issues{/number}","pulls_url":"https://api.github.com/repos/spmjs/node-scp2/pulls{/number}","milestones_url":"https://api.github.com/repos/spmjs/node-scp2/milestones{/number}","notifications_url":"https://api.github.com/repos/spmjs/node-scp2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spmjs/node-scp2/labels{/name}","releases_url":"https://api.github.com/repos/spmjs/node-scp2/releases{/id}","created_at":"2013-03-05T11:41:53Z","updated_at":"2015-07-19T13:40:50Z","pushed_at":"2015-07-20T11:55:08Z","git_url":"git://github.com/spmjs/node-scp2.git","ssh_url":"git@github.com:spmjs/node-scp2.git","clone_url":"https://github.com/spmjs/node-scp2.git","svn_url":"https://github.com/spmjs/node-scp2","homepage":"","size":408,"stargazers_count":79,"watchers_count":79,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":14,"forks":26,"open_issues":14,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spmjs/node-scp2/pulls/38"},"html":{"href":"https://github.com/spmjs/node-scp2/pull/38"},"issue":{"href":"https://api.github.com/repos/spmjs/node-scp2/issues/38"},"comments":{"href":"https://api.github.com/repos/spmjs/node-scp2/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/spmjs/node-scp2/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/spmjs/node-scp2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spmjs/node-scp2/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/spmjs/node-scp2/statuses/8ef95bfd38913178b094b2c0bb8870064ef9a438"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lepture","id":290496,"avatar_url":"https://avatars.githubusercontent.com/u/290496?v=3","gravatar_id":"","url":"https://api.github.com/users/lepture","html_url":"https://github.com/lepture","followers_url":"https://api.github.com/users/lepture/followers","following_url":"https://api.github.com/users/lepture/following{/other_user}","gists_url":"https://api.github.com/users/lepture/gists{/gist_id}","starred_url":"https://api.github.com/users/lepture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepture/subscriptions","organizations_url":"https://api.github.com/users/lepture/orgs","repos_url":"https://api.github.com/users/lepture/repos","events_url":"https://api.github.com/users/lepture/events{/privacy}","received_events_url":"https://api.github.com/users/lepture/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}