{"action":"opened","number":53,"pull_request":{"url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/53","id":46848951,"html_url":"https://github.com/yahoo/artifactory_ssh_proxy/pull/53","diff_url":"https://github.com/yahoo/artifactory_ssh_proxy/pull/53.diff","patch_url":"https://github.com/yahoo/artifactory_ssh_proxy/pull/53.patch","issue_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/issues/53","number":53,"state":"open","locked":false,"title":"Fix thread leak happens in the downloading and uploading ","user":{"login":"adam701","id":4589750,"avatar_url":"https://avatars.githubusercontent.com/u/4589750?v=3","gravatar_id":"","url":"https://api.github.com/users/adam701","html_url":"https://github.com/adam701","followers_url":"https://api.github.com/users/adam701/followers","following_url":"https://api.github.com/users/adam701/following{/other_user}","gists_url":"https://api.github.com/users/adam701/gists{/gist_id}","starred_url":"https://api.github.com/users/adam701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam701/subscriptions","organizations_url":"https://api.github.com/users/adam701/orgs","repos_url":"https://api.github.com/users/adam701/repos","events_url":"https://api.github.com/users/adam701/events{/privacy}","received_events_url":"https://api.github.com/users/adam701/received_events","type":"User","site_admin":false},"body":"The thread leak may happen when the client session is timed out but the request between sshd proxy and artifactory is still blocked.\r\n\r\nTo fix this issue:\r\n\r\nAdded the session listener for the ScpCommand so that the session close method can interrupt the blocked ScpCommand thread. \r\n\r\nAlso implemented the handleClose method for the ArtifactorySshFile so that the uploader thread can be cancelled when the session is closed.","created_at":"2015-10-05T23:58:33Z","updated_at":"2015-10-05T23:58:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/53/commits","review_comments_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/53/comments","review_comment_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/issues/53/comments","statuses_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/statuses/de68735d1d54ad824591abfa3bf1ab34efa92ac0","head":{"label":"adam701:master","ref":"master","sha":"de68735d1d54ad824591abfa3bf1ab34efa92ac0","user":{"login":"adam701","id":4589750,"avatar_url":"https://avatars.githubusercontent.com/u/4589750?v=3","gravatar_id":"","url":"https://api.github.com/users/adam701","html_url":"https://github.com/adam701","followers_url":"https://api.github.com/users/adam701/followers","following_url":"https://api.github.com/users/adam701/following{/other_user}","gists_url":"https://api.github.com/users/adam701/gists{/gist_id}","starred_url":"https://api.github.com/users/adam701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam701/subscriptions","organizations_url":"https://api.github.com/users/adam701/orgs","repos_url":"https://api.github.com/users/adam701/repos","events_url":"https://api.github.com/users/adam701/events{/privacy}","received_events_url":"https://api.github.com/users/adam701/received_events","type":"User","site_admin":false},"repo":{"id":43031888,"name":"artifactory_ssh_proxy","full_name":"adam701/artifactory_ssh_proxy","owner":{"login":"adam701","id":4589750,"avatar_url":"https://avatars.githubusercontent.com/u/4589750?v=3","gravatar_id":"","url":"https://api.github.com/users/adam701","html_url":"https://github.com/adam701","followers_url":"https://api.github.com/users/adam701/followers","following_url":"https://api.github.com/users/adam701/following{/other_user}","gists_url":"https://api.github.com/users/adam701/gists{/gist_id}","starred_url":"https://api.github.com/users/adam701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam701/subscriptions","organizations_url":"https://api.github.com/users/adam701/orgs","repos_url":"https://api.github.com/users/adam701/repos","events_url":"https://api.github.com/users/adam701/events{/privacy}","received_events_url":"https://api.github.com/users/adam701/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adam701/artifactory_ssh_proxy","description":"An ssh proxy for Artifactory","fork":true,"url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy","forks_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/forks","keys_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/teams","hooks_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/hooks","issue_events_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/issues/events{/number}","events_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/events","assignees_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/assignees{/user}","branches_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/branches{/branch}","tags_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/tags","blobs_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/languages","stargazers_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/stargazers","contributors_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/contributors","subscribers_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/subscribers","subscription_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/subscription","commits_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/contents/{+path}","compare_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/merges","archive_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/downloads","issues_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/issues{/number}","pulls_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/labels{/name}","releases_url":"https://api.github.com/repos/adam701/artifactory_ssh_proxy/releases{/id}","created_at":"2015-09-23T22:59:21Z","updated_at":"2015-09-23T22:59:22Z","pushed_at":"2015-10-05T23:57:27Z","git_url":"git://github.com/adam701/artifactory_ssh_proxy.git","ssh_url":"git@github.com:adam701/artifactory_ssh_proxy.git","clone_url":"https://github.com/adam701/artifactory_ssh_proxy.git","svn_url":"https://github.com/adam701/artifactory_ssh_proxy","homepage":"","size":454,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"yahoo:master","ref":"master","sha":"f4694e7f1228f1f3f097e56640d8bf6599b051f3","user":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"repo":{"id":25608016,"name":"artifactory_ssh_proxy","full_name":"yahoo/artifactory_ssh_proxy","owner":{"login":"yahoo","id":16574,"avatar_url":"https://avatars.githubusercontent.com/u/16574?v=3","gravatar_id":"","url":"https://api.github.com/users/yahoo","html_url":"https://github.com/yahoo","followers_url":"https://api.github.com/users/yahoo/followers","following_url":"https://api.github.com/users/yahoo/following{/other_user}","gists_url":"https://api.github.com/users/yahoo/gists{/gist_id}","starred_url":"https://api.github.com/users/yahoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahoo/subscriptions","organizations_url":"https://api.github.com/users/yahoo/orgs","repos_url":"https://api.github.com/users/yahoo/repos","events_url":"https://api.github.com/users/yahoo/events{/privacy}","received_events_url":"https://api.github.com/users/yahoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yahoo/artifactory_ssh_proxy","description":"An ssh proxy for Artifactory","fork":false,"url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy","forks_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/forks","keys_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/teams","hooks_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/hooks","issue_events_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/issues/events{/number}","events_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/events","assignees_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/assignees{/user}","branches_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/branches{/branch}","tags_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/tags","blobs_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/languages","stargazers_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/stargazers","contributors_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/contributors","subscribers_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/subscribers","subscription_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/subscription","commits_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/contents/{+path}","compare_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/merges","archive_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/downloads","issues_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/issues{/number}","pulls_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/labels{/name}","releases_url":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/releases{/id}","created_at":"2014-10-22T22:42:56Z","updated_at":"2015-08-31T12:43:35Z","pushed_at":"2015-08-12T00:03:21Z","git_url":"git://github.com/yahoo/artifactory_ssh_proxy.git","ssh_url":"git@github.com:yahoo/artifactory_ssh_proxy.git","clone_url":"https://github.com/yahoo/artifactory_ssh_proxy.git","svn_url":"https://github.com/yahoo/artifactory_ssh_proxy","homepage":"","size":828,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/53"},"html":{"href":"https://github.com/yahoo/artifactory_ssh_proxy/pull/53"},"issue":{"href":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/issues/53"},"comments":{"href":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/yahoo/artifactory_ssh_proxy/statuses/de68735d1d54ad824591abfa3bf1ab34efa92ac0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":163,"deletions":9,"changed_files":6}}