{"action":"closed","number":65,"pull_request":{"url":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/65","id":43932203,"html_url":"https://github.com/lookout/ngx_borderpatrol/pull/65","diff_url":"https://github.com/lookout/ngx_borderpatrol/pull/65.diff","patch_url":"https://github.com/lookout/ngx_borderpatrol/pull/65.patch","issue_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/issues/65","number":65,"state":"closed","locked":false,"title":"Fix yield across metamethod/C-call boundary","user":{"login":"trane","id":36095,"avatar_url":"https://avatars.githubusercontent.com/u/36095?v=3","gravatar_id":"","url":"https://api.github.com/users/trane","html_url":"https://github.com/trane","followers_url":"https://api.github.com/users/trane/followers","following_url":"https://api.github.com/users/trane/following{/other_user}","gists_url":"https://api.github.com/users/trane/gists{/gist_id}","starred_url":"https://api.github.com/users/trane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trane/subscriptions","organizations_url":"https://api.github.com/users/trane/orgs","repos_url":"https://api.github.com/users/trane/repos","events_url":"https://api.github.com/users/trane/events{/privacy}","received_events_url":"https://api.github.com/users/trane/received_events","type":"User","site_admin":false},"body":"Since lua-memcached requires that we use the access_by* lua directive,\r\nand since we cannot use multiple access_by* directives in the same\r\nlocation, we have to merge the two into a single call.\r\n\r\nUnfortunately, the straightforward implementation using `dofile` also\r\nisn't supported in the lua/jit version(s) we are using.\r\n\r\nThe fix is to lift these calls into actual modules and then call the\r\nmodules from a single access_by*.\r\n\r\nThis change also updates tests to take this into account","created_at":"2015-09-01T22:01:14Z","updated_at":"2015-09-01T22:43:08Z","closed_at":"2015-09-01T22:43:08Z","merged_at":"2015-09-01T22:43:08Z","merge_commit_sha":"bd494af617d87fe8ff116aa8ffba1fbb48d67f5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/65/commits","review_comments_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/65/comments","review_comment_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/issues/65/comments","statuses_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/statuses/76ae04d08b4234fb5bab2153abcad6f5311e79fb","head":{"label":"trane:yield_access","ref":"yield_access","sha":"76ae04d08b4234fb5bab2153abcad6f5311e79fb","user":{"login":"trane","id":36095,"avatar_url":"https://avatars.githubusercontent.com/u/36095?v=3","gravatar_id":"","url":"https://api.github.com/users/trane","html_url":"https://github.com/trane","followers_url":"https://api.github.com/users/trane/followers","following_url":"https://api.github.com/users/trane/following{/other_user}","gists_url":"https://api.github.com/users/trane/gists{/gist_id}","starred_url":"https://api.github.com/users/trane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trane/subscriptions","organizations_url":"https://api.github.com/users/trane/orgs","repos_url":"https://api.github.com/users/trane/repos","events_url":"https://api.github.com/users/trane/events{/privacy}","received_events_url":"https://api.github.com/users/trane/received_events","type":"User","site_admin":false},"repo":{"id":26615890,"name":"ngx_borderpatrol","full_name":"trane/ngx_borderpatrol","owner":{"login":"trane","id":36095,"avatar_url":"https://avatars.githubusercontent.com/u/36095?v=3","gravatar_id":"","url":"https://api.github.com/users/trane","html_url":"https://github.com/trane","followers_url":"https://api.github.com/users/trane/followers","following_url":"https://api.github.com/users/trane/following{/other_user}","gists_url":"https://api.github.com/users/trane/gists{/gist_id}","starred_url":"https://api.github.com/users/trane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trane/subscriptions","organizations_url":"https://api.github.com/users/trane/orgs","repos_url":"https://api.github.com/users/trane/repos","events_url":"https://api.github.com/users/trane/events{/privacy}","received_events_url":"https://api.github.com/users/trane/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trane/ngx_borderpatrol","description":"Edge-authentication","fork":true,"url":"https://api.github.com/repos/trane/ngx_borderpatrol","forks_url":"https://api.github.com/repos/trane/ngx_borderpatrol/forks","keys_url":"https://api.github.com/repos/trane/ngx_borderpatrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trane/ngx_borderpatrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trane/ngx_borderpatrol/teams","hooks_url":"https://api.github.com/repos/trane/ngx_borderpatrol/hooks","issue_events_url":"https://api.github.com/repos/trane/ngx_borderpatrol/issues/events{/number}","events_url":"https://api.github.com/repos/trane/ngx_borderpatrol/events","assignees_url":"https://api.github.com/repos/trane/ngx_borderpatrol/assignees{/user}","branches_url":"https://api.github.com/repos/trane/ngx_borderpatrol/branches{/branch}","tags_url":"https://api.github.com/repos/trane/ngx_borderpatrol/tags","blobs_url":"https://api.github.com/repos/trane/ngx_borderpatrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trane/ngx_borderpatrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trane/ngx_borderpatrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/trane/ngx_borderpatrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trane/ngx_borderpatrol/statuses/{sha}","languages_url":"https://api.github.com/repos/trane/ngx_borderpatrol/languages","stargazers_url":"https://api.github.com/repos/trane/ngx_borderpatrol/stargazers","contributors_url":"https://api.github.com/repos/trane/ngx_borderpatrol/contributors","subscribers_url":"https://api.github.com/repos/trane/ngx_borderpatrol/subscribers","subscription_url":"https://api.github.com/repos/trane/ngx_borderpatrol/subscription","commits_url":"https://api.github.com/repos/trane/ngx_borderpatrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/trane/ngx_borderpatrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/trane/ngx_borderpatrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/trane/ngx_borderpatrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/trane/ngx_borderpatrol/contents/{+path}","compare_url":"https://api.github.com/repos/trane/ngx_borderpatrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trane/ngx_borderpatrol/merges","archive_url":"https://api.github.com/repos/trane/ngx_borderpatrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trane/ngx_borderpatrol/downloads","issues_url":"https://api.github.com/repos/trane/ngx_borderpatrol/issues{/number}","pulls_url":"https://api.github.com/repos/trane/ngx_borderpatrol/pulls{/number}","milestones_url":"https://api.github.com/repos/trane/ngx_borderpatrol/milestones{/number}","notifications_url":"https://api.github.com/repos/trane/ngx_borderpatrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trane/ngx_borderpatrol/labels{/name}","releases_url":"https://api.github.com/repos/trane/ngx_borderpatrol/releases{/id}","created_at":"2014-11-14T01:12:08Z","updated_at":"2015-01-08T00:51:29Z","pushed_at":"2015-09-01T22:01:03Z","git_url":"git://github.com/trane/ngx_borderpatrol.git","ssh_url":"git@github.com:trane/ngx_borderpatrol.git","clone_url":"https://github.com/trane/ngx_borderpatrol.git","svn_url":"https://github.com/trane/ngx_borderpatrol","homepage":"http://hackers.lookout.com/2014/06/introducing-borderpatrol/","size":443,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"lookout:master","ref":"master","sha":"9b7f6d53190a722554a78c1ed21a562e3fe29c7a","user":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"repo":{"id":10212732,"name":"ngx_borderpatrol","full_name":"lookout/ngx_borderpatrol","owner":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lookout/ngx_borderpatrol","description":"Edge-authentication","fork":false,"url":"https://api.github.com/repos/lookout/ngx_borderpatrol","forks_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/forks","keys_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/teams","hooks_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/hooks","issue_events_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/issues/events{/number}","events_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/events","assignees_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/assignees{/user}","branches_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/branches{/branch}","tags_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/tags","blobs_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/git/refs{/sha}","trees_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/statuses/{sha}","languages_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/languages","stargazers_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/stargazers","contributors_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/contributors","subscribers_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/subscribers","subscription_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/subscription","commits_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/commits{/sha}","git_commits_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/git/commits{/sha}","comments_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/comments{/number}","issue_comment_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/issues/comments{/number}","contents_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/contents/{+path}","compare_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/merges","archive_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/downloads","issues_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/issues{/number}","pulls_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls{/number}","milestones_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/milestones{/number}","notifications_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/labels{/name}","releases_url":"https://api.github.com/repos/lookout/ngx_borderpatrol/releases{/id}","created_at":"2013-05-22T05:46:57Z","updated_at":"2015-07-04T00:01:06Z","pushed_at":"2015-09-01T22:43:08Z","git_url":"git://github.com/lookout/ngx_borderpatrol.git","ssh_url":"git@github.com:lookout/ngx_borderpatrol.git","clone_url":"https://github.com/lookout/ngx_borderpatrol.git","svn_url":"https://github.com/lookout/ngx_borderpatrol","homepage":"http://hackers.lookout.com/2014/06/introducing-borderpatrol/","size":3874,"stargazers_count":29,"watchers_count":29,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/65"},"html":{"href":"https://github.com/lookout/ngx_borderpatrol/pull/65"},"issue":{"href":"https://api.github.com/repos/lookout/ngx_borderpatrol/issues/65"},"comments":{"href":"https://api.github.com/repos/lookout/ngx_borderpatrol/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lookout/ngx_borderpatrol/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/lookout/ngx_borderpatrol/statuses/76ae04d08b4234fb5bab2153abcad6f5311e79fb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"wkimeria","id":786912,"avatar_url":"https://avatars.githubusercontent.com/u/786912?v=3","gravatar_id":"","url":"https://api.github.com/users/wkimeria","html_url":"https://github.com/wkimeria","followers_url":"https://api.github.com/users/wkimeria/followers","following_url":"https://api.github.com/users/wkimeria/following{/other_user}","gists_url":"https://api.github.com/users/wkimeria/gists{/gist_id}","starred_url":"https://api.github.com/users/wkimeria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkimeria/subscriptions","organizations_url":"https://api.github.com/users/wkimeria/orgs","repos_url":"https://api.github.com/users/wkimeria/repos","events_url":"https://api.github.com/users/wkimeria/events{/privacy}","received_events_url":"https://api.github.com/users/wkimeria/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":24,"changed_files":7}}