{"action":"closed","number":224,"pull_request":{"url":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/224","id":72670444,"html_url":"https://github.com/01org/TPM2.0-TSS/pull/224","diff_url":"https://github.com/01org/TPM2.0-TSS/pull/224.diff","patch_url":"https://github.com/01org/TPM2.0-TSS/pull/224.patch","issue_url":"https://api.github.com/repos/01org/TPM2.0-TSS/issues/224","number":224,"state":"closed","locked":false,"title":"RM: Fix deadloop in physical tpm case","user":{"login":"gwei3","id":1584680,"avatar_url":"https://avatars.githubusercontent.com/u/1584680?v=3","gravatar_id":"","url":"https://api.github.com/users/gwei3","html_url":"https://github.com/gwei3","followers_url":"https://api.github.com/users/gwei3/followers","following_url":"https://api.github.com/users/gwei3/following{/other_user}","gists_url":"https://api.github.com/users/gwei3/gists{/gist_id}","starred_url":"https://api.github.com/users/gwei3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwei3/subscriptions","organizations_url":"https://api.github.com/users/gwei3/orgs","repos_url":"https://api.github.com/users/gwei3/repos","events_url":"https://api.github.com/users/gwei3/events{/privacy}","received_events_url":"https://api.github.com/users/gwei3/received_events","type":"User","site_admin":false},"body":"For other cmd server thread, in physical tpm case, just skipped all cmd and give a successful response. this is not enough. Need to handle TPM_SESSION_END cmd to exit the thread, instead of continue to let the thread in a deadloop state.\r\nFix #221.","created_at":"2016-06-06T08:10:38Z","updated_at":"2016-06-10T19:19:33Z","closed_at":"2016-06-10T19:19:33Z","merged_at":null,"merge_commit_sha":"38d0e66bd3af6af5a06e02953944fec3eb7148ef","assignee":{"login":"flihp","id":1550813,"avatar_url":"https://avatars.githubusercontent.com/u/1550813?v=3","gravatar_id":"","url":"https://api.github.com/users/flihp","html_url":"https://github.com/flihp","followers_url":"https://api.github.com/users/flihp/followers","following_url":"https://api.github.com/users/flihp/following{/other_user}","gists_url":"https://api.github.com/users/flihp/gists{/gist_id}","starred_url":"https://api.github.com/users/flihp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flihp/subscriptions","organizations_url":"https://api.github.com/users/flihp/orgs","repos_url":"https://api.github.com/users/flihp/repos","events_url":"https://api.github.com/users/flihp/events{/privacy}","received_events_url":"https://api.github.com/users/flihp/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/224/commits","review_comments_url":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/224/comments","review_comment_url":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/01org/TPM2.0-TSS/issues/224/comments","statuses_url":"https://api.github.com/repos/01org/TPM2.0-TSS/statuses/1e2dfe4e687354591d313ceb74e11967a58c175b","head":{"label":"gwei3:resourcemgr-fix-20160606-2","ref":"resourcemgr-fix-20160606-2","sha":"1e2dfe4e687354591d313ceb74e11967a58c175b","user":{"login":"gwei3","id":1584680,"avatar_url":"https://avatars.githubusercontent.com/u/1584680?v=3","gravatar_id":"","url":"https://api.github.com/users/gwei3","html_url":"https://github.com/gwei3","followers_url":"https://api.github.com/users/gwei3/followers","following_url":"https://api.github.com/users/gwei3/following{/other_user}","gists_url":"https://api.github.com/users/gwei3/gists{/gist_id}","starred_url":"https://api.github.com/users/gwei3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwei3/subscriptions","organizations_url":"https://api.github.com/users/gwei3/orgs","repos_url":"https://api.github.com/users/gwei3/repos","events_url":"https://api.github.com/users/gwei3/events{/privacy}","received_events_url":"https://api.github.com/users/gwei3/received_events","type":"User","site_admin":false},"repo":{"id":41778900,"name":"TPM2.0-TSS","full_name":"gwei3/TPM2.0-TSS","owner":{"login":"gwei3","id":1584680,"avatar_url":"https://avatars.githubusercontent.com/u/1584680?v=3","gravatar_id":"","url":"https://api.github.com/users/gwei3","html_url":"https://github.com/gwei3","followers_url":"https://api.github.com/users/gwei3/followers","following_url":"https://api.github.com/users/gwei3/following{/other_user}","gists_url":"https://api.github.com/users/gwei3/gists{/gist_id}","starred_url":"https://api.github.com/users/gwei3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwei3/subscriptions","organizations_url":"https://api.github.com/users/gwei3/orgs","repos_url":"https://api.github.com/users/gwei3/repos","events_url":"https://api.github.com/users/gwei3/events{/privacy}","received_events_url":"https://api.github.com/users/gwei3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gwei3/TPM2.0-TSS","description":"","fork":true,"url":"https://api.github.com/repos/gwei3/TPM2.0-TSS","forks_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/forks","keys_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/teams","hooks_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/hooks","issue_events_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/issues/events{/number}","events_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/events","assignees_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/assignees{/user}","branches_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/branches{/branch}","tags_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/tags","blobs_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/git/refs{/sha}","trees_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/statuses/{sha}","languages_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/languages","stargazers_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/stargazers","contributors_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/contributors","subscribers_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/subscribers","subscription_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/subscription","commits_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/commits{/sha}","git_commits_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/git/commits{/sha}","comments_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/comments{/number}","issue_comment_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/issues/comments{/number}","contents_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/contents/{+path}","compare_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/merges","archive_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/downloads","issues_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/issues{/number}","pulls_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/pulls{/number}","milestones_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/milestones{/number}","notifications_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/labels{/name}","releases_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/releases{/id}","deployments_url":"https://api.github.com/repos/gwei3/TPM2.0-TSS/deployments","created_at":"2015-09-02T03:59:57Z","updated_at":"2016-02-01T07:54:11Z","pushed_at":"2016-06-06T08:08:19Z","git_url":"git://github.com/gwei3/TPM2.0-TSS.git","ssh_url":"git@github.com:gwei3/TPM2.0-TSS.git","clone_url":"https://github.com/gwei3/TPM2.0-TSS.git","svn_url":"https://github.com/gwei3/TPM2.0-TSS","homepage":null,"size":13520,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"01org:master","ref":"master","sha":"cc57502146b58080ac39e078a47087e12b7bad90","user":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"repo":{"id":38320020,"name":"TPM2.0-TSS","full_name":"01org/TPM2.0-TSS","owner":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/01org/TPM2.0-TSS","description":"","fork":false,"url":"https://api.github.com/repos/01org/TPM2.0-TSS","forks_url":"https://api.github.com/repos/01org/TPM2.0-TSS/forks","keys_url":"https://api.github.com/repos/01org/TPM2.0-TSS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/01org/TPM2.0-TSS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/01org/TPM2.0-TSS/teams","hooks_url":"https://api.github.com/repos/01org/TPM2.0-TSS/hooks","issue_events_url":"https://api.github.com/repos/01org/TPM2.0-TSS/issues/events{/number}","events_url":"https://api.github.com/repos/01org/TPM2.0-TSS/events","assignees_url":"https://api.github.com/repos/01org/TPM2.0-TSS/assignees{/user}","branches_url":"https://api.github.com/repos/01org/TPM2.0-TSS/branches{/branch}","tags_url":"https://api.github.com/repos/01org/TPM2.0-TSS/tags","blobs_url":"https://api.github.com/repos/01org/TPM2.0-TSS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/01org/TPM2.0-TSS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/01org/TPM2.0-TSS/git/refs{/sha}","trees_url":"https://api.github.com/repos/01org/TPM2.0-TSS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/01org/TPM2.0-TSS/statuses/{sha}","languages_url":"https://api.github.com/repos/01org/TPM2.0-TSS/languages","stargazers_url":"https://api.github.com/repos/01org/TPM2.0-TSS/stargazers","contributors_url":"https://api.github.com/repos/01org/TPM2.0-TSS/contributors","subscribers_url":"https://api.github.com/repos/01org/TPM2.0-TSS/subscribers","subscription_url":"https://api.github.com/repos/01org/TPM2.0-TSS/subscription","commits_url":"https://api.github.com/repos/01org/TPM2.0-TSS/commits{/sha}","git_commits_url":"https://api.github.com/repos/01org/TPM2.0-TSS/git/commits{/sha}","comments_url":"https://api.github.com/repos/01org/TPM2.0-TSS/comments{/number}","issue_comment_url":"https://api.github.com/repos/01org/TPM2.0-TSS/issues/comments{/number}","contents_url":"https://api.github.com/repos/01org/TPM2.0-TSS/contents/{+path}","compare_url":"https://api.github.com/repos/01org/TPM2.0-TSS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/01org/TPM2.0-TSS/merges","archive_url":"https://api.github.com/repos/01org/TPM2.0-TSS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/01org/TPM2.0-TSS/downloads","issues_url":"https://api.github.com/repos/01org/TPM2.0-TSS/issues{/number}","pulls_url":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls{/number}","milestones_url":"https://api.github.com/repos/01org/TPM2.0-TSS/milestones{/number}","notifications_url":"https://api.github.com/repos/01org/TPM2.0-TSS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/01org/TPM2.0-TSS/labels{/name}","releases_url":"https://api.github.com/repos/01org/TPM2.0-TSS/releases{/id}","deployments_url":"https://api.github.com/repos/01org/TPM2.0-TSS/deployments","created_at":"2015-06-30T16:21:57Z","updated_at":"2016-06-08T15:19:13Z","pushed_at":"2016-06-10T19:18:42Z","git_url":"git://github.com/01org/TPM2.0-TSS.git","ssh_url":"git@github.com:01org/TPM2.0-TSS.git","clone_url":"https://github.com/01org/TPM2.0-TSS.git","svn_url":"https://github.com/01org/TPM2.0-TSS","homepage":null,"size":13661,"stargazers_count":31,"watchers_count":31,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":20,"forks":22,"open_issues":20,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/224"},"html":{"href":"https://github.com/01org/TPM2.0-TSS/pull/224"},"issue":{"href":"https://api.github.com/repos/01org/TPM2.0-TSS/issues/224"},"comments":{"href":"https://api.github.com/repos/01org/TPM2.0-TSS/issues/224/comments"},"review_comments":{"href":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/224/comments"},"review_comment":{"href":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/01org/TPM2.0-TSS/pulls/224/commits"},"statuses":{"href":"https://api.github.com/repos/01org/TPM2.0-TSS/statuses/1e2dfe4e687354591d313ceb74e11967a58c175b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"flihp"}}