{"action":"opened","number":135,"pull_request":{"url":"https://api.github.com/repos/libssh2/libssh2/pulls/135","id":88871826,"html_url":"https://github.com/libssh2/libssh2/pull/135","diff_url":"https://github.com/libssh2/libssh2/pull/135.diff","patch_url":"https://github.com/libssh2/libssh2/pull/135.patch","issue_url":"https://api.github.com/repos/libssh2/libssh2/issues/135","number":135,"state":"open","locked":false,"title":"Set err_msg on _libssh2_wait_socket errors","user":{"login":"cac04","id":13987272,"avatar_url":"https://avatars.githubusercontent.com/u/13987272?v=3","gravatar_id":"","url":"https://api.github.com/users/cac04","html_url":"https://github.com/cac04","followers_url":"https://api.github.com/users/cac04/followers","following_url":"https://api.github.com/users/cac04/following{/other_user}","gists_url":"https://api.github.com/users/cac04/gists{/gist_id}","starred_url":"https://api.github.com/users/cac04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cac04/subscriptions","organizations_url":"https://api.github.com/users/cac04/orgs","repos_url":"https://api.github.com/users/cac04/repos","events_url":"https://api.github.com/users/cac04/events{/privacy}","received_events_url":"https://api.github.com/users/cac04/received_events","type":"User","site_admin":false},"body":"If `_libssh2_wait_socket` only sets `err_code` then `err_msg` can be left with a stale and misleading error message. For example, if a blocking call is made then `err_msg` will contain a \"Would block...\" message. This is confusing to the user if they call `libssh2_session_last_error` to get an error description.","created_at":"2016-10-11T17:04:49Z","updated_at":"2016-10-11T17:04:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a80426177d31b11c70daff29596966a32815f1c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/libssh2/libssh2/pulls/135/commits","review_comments_url":"https://api.github.com/repos/libssh2/libssh2/pulls/135/comments","review_comment_url":"https://api.github.com/repos/libssh2/libssh2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libssh2/libssh2/issues/135/comments","statuses_url":"https://api.github.com/repos/libssh2/libssh2/statuses/81262f3d784383177e213a5d676279d0017299c2","head":{"label":"cac04:wait_socket_err","ref":"wait_socket_err","sha":"81262f3d784383177e213a5d676279d0017299c2","user":{"login":"cac04","id":13987272,"avatar_url":"https://avatars.githubusercontent.com/u/13987272?v=3","gravatar_id":"","url":"https://api.github.com/users/cac04","html_url":"https://github.com/cac04","followers_url":"https://api.github.com/users/cac04/followers","following_url":"https://api.github.com/users/cac04/following{/other_user}","gists_url":"https://api.github.com/users/cac04/gists{/gist_id}","starred_url":"https://api.github.com/users/cac04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cac04/subscriptions","organizations_url":"https://api.github.com/users/cac04/orgs","repos_url":"https://api.github.com/users/cac04/repos","events_url":"https://api.github.com/users/cac04/events{/privacy}","received_events_url":"https://api.github.com/users/cac04/received_events","type":"User","site_admin":false},"repo":{"id":70593558,"name":"libssh2","full_name":"cac04/libssh2","owner":{"login":"cac04","id":13987272,"avatar_url":"https://avatars.githubusercontent.com/u/13987272?v=3","gravatar_id":"","url":"https://api.github.com/users/cac04","html_url":"https://github.com/cac04","followers_url":"https://api.github.com/users/cac04/followers","following_url":"https://api.github.com/users/cac04/following{/other_user}","gists_url":"https://api.github.com/users/cac04/gists{/gist_id}","starred_url":"https://api.github.com/users/cac04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cac04/subscriptions","organizations_url":"https://api.github.com/users/cac04/orgs","repos_url":"https://api.github.com/users/cac04/repos","events_url":"https://api.github.com/users/cac04/events{/privacy}","received_events_url":"https://api.github.com/users/cac04/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cac04/libssh2","description":"the SSH library","fork":true,"url":"https://api.github.com/repos/cac04/libssh2","forks_url":"https://api.github.com/repos/cac04/libssh2/forks","keys_url":"https://api.github.com/repos/cac04/libssh2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cac04/libssh2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cac04/libssh2/teams","hooks_url":"https://api.github.com/repos/cac04/libssh2/hooks","issue_events_url":"https://api.github.com/repos/cac04/libssh2/issues/events{/number}","events_url":"https://api.github.com/repos/cac04/libssh2/events","assignees_url":"https://api.github.com/repos/cac04/libssh2/assignees{/user}","branches_url":"https://api.github.com/repos/cac04/libssh2/branches{/branch}","tags_url":"https://api.github.com/repos/cac04/libssh2/tags","blobs_url":"https://api.github.com/repos/cac04/libssh2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cac04/libssh2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cac04/libssh2/git/refs{/sha}","trees_url":"https://api.github.com/repos/cac04/libssh2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cac04/libssh2/statuses/{sha}","languages_url":"https://api.github.com/repos/cac04/libssh2/languages","stargazers_url":"https://api.github.com/repos/cac04/libssh2/stargazers","contributors_url":"https://api.github.com/repos/cac04/libssh2/contributors","subscribers_url":"https://api.github.com/repos/cac04/libssh2/subscribers","subscription_url":"https://api.github.com/repos/cac04/libssh2/subscription","commits_url":"https://api.github.com/repos/cac04/libssh2/commits{/sha}","git_commits_url":"https://api.github.com/repos/cac04/libssh2/git/commits{/sha}","comments_url":"https://api.github.com/repos/cac04/libssh2/comments{/number}","issue_comment_url":"https://api.github.com/repos/cac04/libssh2/issues/comments{/number}","contents_url":"https://api.github.com/repos/cac04/libssh2/contents/{+path}","compare_url":"https://api.github.com/repos/cac04/libssh2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cac04/libssh2/merges","archive_url":"https://api.github.com/repos/cac04/libssh2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cac04/libssh2/downloads","issues_url":"https://api.github.com/repos/cac04/libssh2/issues{/number}","pulls_url":"https://api.github.com/repos/cac04/libssh2/pulls{/number}","milestones_url":"https://api.github.com/repos/cac04/libssh2/milestones{/number}","notifications_url":"https://api.github.com/repos/cac04/libssh2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cac04/libssh2/labels{/name}","releases_url":"https://api.github.com/repos/cac04/libssh2/releases{/id}","deployments_url":"https://api.github.com/repos/cac04/libssh2/deployments","created_at":"2016-10-11T12:59:37Z","updated_at":"2016-10-11T12:59:39Z","pushed_at":"2016-10-11T17:00:11Z","git_url":"git://github.com/cac04/libssh2.git","ssh_url":"git@github.com:cac04/libssh2.git","clone_url":"https://github.com/cac04/libssh2.git","svn_url":"https://github.com/cac04/libssh2","homepage":"https://www.libssh2.org/","size":2242,"stargazers_count":0,"watchers_count":0,"language":"C","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":"libssh2:master","ref":"master","sha":"42941b44f8c9ce79588ea22e4b9bf221c7019285","user":{"login":"libssh2","id":11430937,"avatar_url":"https://avatars.githubusercontent.com/u/11430937?v=3","gravatar_id":"","url":"https://api.github.com/users/libssh2","html_url":"https://github.com/libssh2","followers_url":"https://api.github.com/users/libssh2/followers","following_url":"https://api.github.com/users/libssh2/following{/other_user}","gists_url":"https://api.github.com/users/libssh2/gists{/gist_id}","starred_url":"https://api.github.com/users/libssh2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libssh2/subscriptions","organizations_url":"https://api.github.com/users/libssh2/orgs","repos_url":"https://api.github.com/users/libssh2/repos","events_url":"https://api.github.com/users/libssh2/events{/privacy}","received_events_url":"https://api.github.com/users/libssh2/received_events","type":"Organization","site_admin":false},"repo":{"id":31701703,"name":"libssh2","full_name":"libssh2/libssh2","owner":{"login":"libssh2","id":11430937,"avatar_url":"https://avatars.githubusercontent.com/u/11430937?v=3","gravatar_id":"","url":"https://api.github.com/users/libssh2","html_url":"https://github.com/libssh2","followers_url":"https://api.github.com/users/libssh2/followers","following_url":"https://api.github.com/users/libssh2/following{/other_user}","gists_url":"https://api.github.com/users/libssh2/gists{/gist_id}","starred_url":"https://api.github.com/users/libssh2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libssh2/subscriptions","organizations_url":"https://api.github.com/users/libssh2/orgs","repos_url":"https://api.github.com/users/libssh2/repos","events_url":"https://api.github.com/users/libssh2/events{/privacy}","received_events_url":"https://api.github.com/users/libssh2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libssh2/libssh2","description":"the SSH library","fork":false,"url":"https://api.github.com/repos/libssh2/libssh2","forks_url":"https://api.github.com/repos/libssh2/libssh2/forks","keys_url":"https://api.github.com/repos/libssh2/libssh2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libssh2/libssh2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libssh2/libssh2/teams","hooks_url":"https://api.github.com/repos/libssh2/libssh2/hooks","issue_events_url":"https://api.github.com/repos/libssh2/libssh2/issues/events{/number}","events_url":"https://api.github.com/repos/libssh2/libssh2/events","assignees_url":"https://api.github.com/repos/libssh2/libssh2/assignees{/user}","branches_url":"https://api.github.com/repos/libssh2/libssh2/branches{/branch}","tags_url":"https://api.github.com/repos/libssh2/libssh2/tags","blobs_url":"https://api.github.com/repos/libssh2/libssh2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libssh2/libssh2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libssh2/libssh2/git/refs{/sha}","trees_url":"https://api.github.com/repos/libssh2/libssh2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libssh2/libssh2/statuses/{sha}","languages_url":"https://api.github.com/repos/libssh2/libssh2/languages","stargazers_url":"https://api.github.com/repos/libssh2/libssh2/stargazers","contributors_url":"https://api.github.com/repos/libssh2/libssh2/contributors","subscribers_url":"https://api.github.com/repos/libssh2/libssh2/subscribers","subscription_url":"https://api.github.com/repos/libssh2/libssh2/subscription","commits_url":"https://api.github.com/repos/libssh2/libssh2/commits{/sha}","git_commits_url":"https://api.github.com/repos/libssh2/libssh2/git/commits{/sha}","comments_url":"https://api.github.com/repos/libssh2/libssh2/comments{/number}","issue_comment_url":"https://api.github.com/repos/libssh2/libssh2/issues/comments{/number}","contents_url":"https://api.github.com/repos/libssh2/libssh2/contents/{+path}","compare_url":"https://api.github.com/repos/libssh2/libssh2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libssh2/libssh2/merges","archive_url":"https://api.github.com/repos/libssh2/libssh2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libssh2/libssh2/downloads","issues_url":"https://api.github.com/repos/libssh2/libssh2/issues{/number}","pulls_url":"https://api.github.com/repos/libssh2/libssh2/pulls{/number}","milestones_url":"https://api.github.com/repos/libssh2/libssh2/milestones{/number}","notifications_url":"https://api.github.com/repos/libssh2/libssh2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libssh2/libssh2/labels{/name}","releases_url":"https://api.github.com/repos/libssh2/libssh2/releases{/id}","deployments_url":"https://api.github.com/repos/libssh2/libssh2/deployments","created_at":"2015-03-05T07:38:30Z","updated_at":"2016-10-06T21:51:05Z","pushed_at":"2016-10-11T17:04:49Z","git_url":"git://github.com/libssh2/libssh2.git","ssh_url":"git@github.com:libssh2/libssh2.git","clone_url":"https://github.com/libssh2/libssh2.git","svn_url":"https://github.com/libssh2/libssh2","homepage":"https://www.libssh2.org/","size":3171,"stargazers_count":125,"watchers_count":125,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":45,"forks":102,"open_issues":45,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libssh2/libssh2/pulls/135"},"html":{"href":"https://github.com/libssh2/libssh2/pull/135"},"issue":{"href":"https://api.github.com/repos/libssh2/libssh2/issues/135"},"comments":{"href":"https://api.github.com/repos/libssh2/libssh2/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/libssh2/libssh2/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/libssh2/libssh2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libssh2/libssh2/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/libssh2/libssh2/statuses/81262f3d784383177e213a5d676279d0017299c2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"cac04"}}