{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/8","id":89526604,"html_url":"https://github.com/djs55/ocaml-dns-forward/pull/8","diff_url":"https://github.com/djs55/ocaml-dns-forward/pull/8.diff","patch_url":"https://github.com/djs55/ocaml-dns-forward/pull/8.patch","issue_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/8","number":8,"state":"closed","locked":false,"title":"Multiplex over one outgoing TCP connection","user":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"body":"- connections are cached for re-use (for a limited time)\r\n- if the remote end closes (e.g. google's DNS will close after 1s) then we `disconnect` our end too and will reconnect on demand later\r\n- we maintain a mapping of request id received from the client to request ids used on the multiplexed link","created_at":"2016-10-16T14:00:43Z","updated_at":"2016-10-16T14:32:47Z","closed_at":"2016-10-16T14:32:47Z","merged_at":"2016-10-16T14:32:47Z","merge_commit_sha":"570c83e1331a8cc1734762a5d47d7853d210aeff","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/8/commits","review_comments_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/8/comments","review_comment_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/comments{/number}","comments_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/8/comments","statuses_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/statuses/2796769ef6a1231f851cb231167337ede831d2bc","head":{"label":"djs55:server","ref":"server","sha":"2796769ef6a1231f851cb231167337ede831d2bc","user":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"repo":{"id":69444550,"name":"ocaml-dns-forward","full_name":"djs55/ocaml-dns-forward","owner":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djs55/ocaml-dns-forward","description":"Library and tools for creating forwarding DNS servers","fork":false,"url":"https://api.github.com/repos/djs55/ocaml-dns-forward","forks_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/forks","keys_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/teams","hooks_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/hooks","issue_events_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/events{/number}","events_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/events","assignees_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/assignees{/user}","branches_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/branches{/branch}","tags_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/tags","blobs_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/refs{/sha}","trees_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/statuses/{sha}","languages_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/languages","stargazers_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/stargazers","contributors_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/contributors","subscribers_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/subscribers","subscription_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/subscription","commits_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/commits{/sha}","git_commits_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/commits{/sha}","comments_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/comments{/number}","issue_comment_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/comments{/number}","contents_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/contents/{+path}","compare_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/merges","archive_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/downloads","issues_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues{/number}","pulls_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls{/number}","milestones_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/milestones{/number}","notifications_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/labels{/name}","releases_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/releases{/id}","deployments_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/deployments","created_at":"2016-09-28T08:51:27Z","updated_at":"2016-10-11T15:09:54Z","pushed_at":"2016-10-16T14:32:47Z","git_url":"git://github.com/djs55/ocaml-dns-forward.git","ssh_url":"git@github.com:djs55/ocaml-dns-forward.git","clone_url":"https://github.com/djs55/ocaml-dns-forward.git","svn_url":"https://github.com/djs55/ocaml-dns-forward","homepage":null,"size":50,"stargazers_count":1,"watchers_count":1,"language":"OCaml","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"djs55:master","ref":"master","sha":"851433eb74b582a0967c7e63968bcb9d1fa1915e","user":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"repo":{"id":69444550,"name":"ocaml-dns-forward","full_name":"djs55/ocaml-dns-forward","owner":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djs55/ocaml-dns-forward","description":"Library and tools for creating forwarding DNS servers","fork":false,"url":"https://api.github.com/repos/djs55/ocaml-dns-forward","forks_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/forks","keys_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/teams","hooks_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/hooks","issue_events_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/events{/number}","events_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/events","assignees_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/assignees{/user}","branches_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/branches{/branch}","tags_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/tags","blobs_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/refs{/sha}","trees_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/statuses/{sha}","languages_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/languages","stargazers_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/stargazers","contributors_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/contributors","subscribers_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/subscribers","subscription_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/subscription","commits_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/commits{/sha}","git_commits_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/git/commits{/sha}","comments_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/comments{/number}","issue_comment_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/comments{/number}","contents_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/contents/{+path}","compare_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/merges","archive_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/downloads","issues_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues{/number}","pulls_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls{/number}","milestones_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/milestones{/number}","notifications_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/labels{/name}","releases_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/releases{/id}","deployments_url":"https://api.github.com/repos/djs55/ocaml-dns-forward/deployments","created_at":"2016-09-28T08:51:27Z","updated_at":"2016-10-11T15:09:54Z","pushed_at":"2016-10-16T14:32:47Z","git_url":"git://github.com/djs55/ocaml-dns-forward.git","ssh_url":"git@github.com:djs55/ocaml-dns-forward.git","clone_url":"https://github.com/djs55/ocaml-dns-forward.git","svn_url":"https://github.com/djs55/ocaml-dns-forward","homepage":null,"size":50,"stargazers_count":1,"watchers_count":1,"language":"OCaml","has_issues":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/8"},"html":{"href":"https://github.com/djs55/ocaml-dns-forward/pull/8"},"issue":{"href":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/8"},"comments":{"href":"https://api.github.com/repos/djs55/ocaml-dns-forward/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/djs55/ocaml-dns-forward/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/djs55/ocaml-dns-forward/statuses/2796769ef6a1231f851cb231167337ede831d2bc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"djs55","id":198586,"avatar_url":"https://avatars.githubusercontent.com/u/198586?v=3","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":8,"additions":290,"deletions":96,"changed_files":6}}
{"actor":{"display_login":"djs55"}}