{"action":"opened","number":88,"pull_request":{"url":"https://api.github.com/repos/rakyll/boom/pulls/88","id":49540287,"html_url":"https://github.com/rakyll/boom/pull/88","diff_url":"https://github.com/rakyll/boom/pull/88.diff","patch_url":"https://github.com/rakyll/boom/pull/88.patch","issue_url":"https://api.github.com/repos/rakyll/boom/issues/88","number":88,"state":"open","locked":false,"title":"Fix bug: all connections are not reuse","user":{"login":"davidwudv","id":4150570,"avatar_url":"https://avatars.githubusercontent.com/u/4150570?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwudv","html_url":"https://github.com/davidwudv","followers_url":"https://api.github.com/users/davidwudv/followers","following_url":"https://api.github.com/users/davidwudv/following{/other_user}","gists_url":"https://api.github.com/users/davidwudv/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwudv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwudv/subscriptions","organizations_url":"https://api.github.com/users/davidwudv/orgs","repos_url":"https://api.github.com/users/davidwudv/repos","events_url":"https://api.github.com/users/davidwudv/events{/privacy}","received_events_url":"https://api.github.com/users/davidwudv/received_events","type":"User","site_admin":false},"body":"To ensure http.Client connection reuse, must do two things:\r\n1.Read until Response is complete.\r\n2.Call Body.Close().\r\n\r\nyou can test it","created_at":"2015-11-03T10:42:56Z","updated_at":"2015-11-03T10:42:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rakyll/boom/pulls/88/commits","review_comments_url":"https://api.github.com/repos/rakyll/boom/pulls/88/comments","review_comment_url":"https://api.github.com/repos/rakyll/boom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rakyll/boom/issues/88/comments","statuses_url":"https://api.github.com/repos/rakyll/boom/statuses/14adff855bf39561e4b79302ab13d6e145e0c18c","head":{"label":"davidwudv:fixConnectionNotReuseBug","ref":"fixConnectionNotReuseBug","sha":"14adff855bf39561e4b79302ab13d6e145e0c18c","user":{"login":"davidwudv","id":4150570,"avatar_url":"https://avatars.githubusercontent.com/u/4150570?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwudv","html_url":"https://github.com/davidwudv","followers_url":"https://api.github.com/users/davidwudv/followers","following_url":"https://api.github.com/users/davidwudv/following{/other_user}","gists_url":"https://api.github.com/users/davidwudv/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwudv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwudv/subscriptions","organizations_url":"https://api.github.com/users/davidwudv/orgs","repos_url":"https://api.github.com/users/davidwudv/repos","events_url":"https://api.github.com/users/davidwudv/events{/privacy}","received_events_url":"https://api.github.com/users/davidwudv/received_events","type":"User","site_admin":false},"repo":{"id":45441659,"name":"boom","full_name":"davidwudv/boom","owner":{"login":"davidwudv","id":4150570,"avatar_url":"https://avatars.githubusercontent.com/u/4150570?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwudv","html_url":"https://github.com/davidwudv","followers_url":"https://api.github.com/users/davidwudv/followers","following_url":"https://api.github.com/users/davidwudv/following{/other_user}","gists_url":"https://api.github.com/users/davidwudv/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwudv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwudv/subscriptions","organizations_url":"https://api.github.com/users/davidwudv/orgs","repos_url":"https://api.github.com/users/davidwudv/repos","events_url":"https://api.github.com/users/davidwudv/events{/privacy}","received_events_url":"https://api.github.com/users/davidwudv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidwudv/boom","description":"HTTP(S) load generator, ApacheBench (ab) replacement, written in Go","fork":true,"url":"https://api.github.com/repos/davidwudv/boom","forks_url":"https://api.github.com/repos/davidwudv/boom/forks","keys_url":"https://api.github.com/repos/davidwudv/boom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidwudv/boom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidwudv/boom/teams","hooks_url":"https://api.github.com/repos/davidwudv/boom/hooks","issue_events_url":"https://api.github.com/repos/davidwudv/boom/issues/events{/number}","events_url":"https://api.github.com/repos/davidwudv/boom/events","assignees_url":"https://api.github.com/repos/davidwudv/boom/assignees{/user}","branches_url":"https://api.github.com/repos/davidwudv/boom/branches{/branch}","tags_url":"https://api.github.com/repos/davidwudv/boom/tags","blobs_url":"https://api.github.com/repos/davidwudv/boom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidwudv/boom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidwudv/boom/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidwudv/boom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidwudv/boom/statuses/{sha}","languages_url":"https://api.github.com/repos/davidwudv/boom/languages","stargazers_url":"https://api.github.com/repos/davidwudv/boom/stargazers","contributors_url":"https://api.github.com/repos/davidwudv/boom/contributors","subscribers_url":"https://api.github.com/repos/davidwudv/boom/subscribers","subscription_url":"https://api.github.com/repos/davidwudv/boom/subscription","commits_url":"https://api.github.com/repos/davidwudv/boom/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidwudv/boom/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidwudv/boom/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidwudv/boom/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidwudv/boom/contents/{+path}","compare_url":"https://api.github.com/repos/davidwudv/boom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidwudv/boom/merges","archive_url":"https://api.github.com/repos/davidwudv/boom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidwudv/boom/downloads","issues_url":"https://api.github.com/repos/davidwudv/boom/issues{/number}","pulls_url":"https://api.github.com/repos/davidwudv/boom/pulls{/number}","milestones_url":"https://api.github.com/repos/davidwudv/boom/milestones{/number}","notifications_url":"https://api.github.com/repos/davidwudv/boom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidwudv/boom/labels{/name}","releases_url":"https://api.github.com/repos/davidwudv/boom/releases{/id}","created_at":"2015-11-03T04:28:18Z","updated_at":"2015-11-03T04:28:20Z","pushed_at":"2015-11-03T10:41:00Z","git_url":"git://github.com/davidwudv/boom.git","ssh_url":"git@github.com:davidwudv/boom.git","clone_url":"https://github.com/davidwudv/boom.git","svn_url":"https://github.com/davidwudv/boom","homepage":"","size":782,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"rakyll:master","ref":"master","sha":"79153762c259a71f2febd651a619c8b20d0f5178","user":{"login":"rakyll","id":108380,"avatar_url":"https://avatars.githubusercontent.com/u/108380?v=3","gravatar_id":"","url":"https://api.github.com/users/rakyll","html_url":"https://github.com/rakyll","followers_url":"https://api.github.com/users/rakyll/followers","following_url":"https://api.github.com/users/rakyll/following{/other_user}","gists_url":"https://api.github.com/users/rakyll/gists{/gist_id}","starred_url":"https://api.github.com/users/rakyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakyll/subscriptions","organizations_url":"https://api.github.com/users/rakyll/orgs","repos_url":"https://api.github.com/users/rakyll/repos","events_url":"https://api.github.com/users/rakyll/events{/privacy}","received_events_url":"https://api.github.com/users/rakyll/received_events","type":"User","site_admin":false},"repo":{"id":15633115,"name":"boom","full_name":"rakyll/boom","owner":{"login":"rakyll","id":108380,"avatar_url":"https://avatars.githubusercontent.com/u/108380?v=3","gravatar_id":"","url":"https://api.github.com/users/rakyll","html_url":"https://github.com/rakyll","followers_url":"https://api.github.com/users/rakyll/followers","following_url":"https://api.github.com/users/rakyll/following{/other_user}","gists_url":"https://api.github.com/users/rakyll/gists{/gist_id}","starred_url":"https://api.github.com/users/rakyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakyll/subscriptions","organizations_url":"https://api.github.com/users/rakyll/orgs","repos_url":"https://api.github.com/users/rakyll/repos","events_url":"https://api.github.com/users/rakyll/events{/privacy}","received_events_url":"https://api.github.com/users/rakyll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rakyll/boom","description":"HTTP(S) load generator, ApacheBench (ab) replacement, written in Go","fork":false,"url":"https://api.github.com/repos/rakyll/boom","forks_url":"https://api.github.com/repos/rakyll/boom/forks","keys_url":"https://api.github.com/repos/rakyll/boom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rakyll/boom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rakyll/boom/teams","hooks_url":"https://api.github.com/repos/rakyll/boom/hooks","issue_events_url":"https://api.github.com/repos/rakyll/boom/issues/events{/number}","events_url":"https://api.github.com/repos/rakyll/boom/events","assignees_url":"https://api.github.com/repos/rakyll/boom/assignees{/user}","branches_url":"https://api.github.com/repos/rakyll/boom/branches{/branch}","tags_url":"https://api.github.com/repos/rakyll/boom/tags","blobs_url":"https://api.github.com/repos/rakyll/boom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rakyll/boom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rakyll/boom/git/refs{/sha}","trees_url":"https://api.github.com/repos/rakyll/boom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rakyll/boom/statuses/{sha}","languages_url":"https://api.github.com/repos/rakyll/boom/languages","stargazers_url":"https://api.github.com/repos/rakyll/boom/stargazers","contributors_url":"https://api.github.com/repos/rakyll/boom/contributors","subscribers_url":"https://api.github.com/repos/rakyll/boom/subscribers","subscription_url":"https://api.github.com/repos/rakyll/boom/subscription","commits_url":"https://api.github.com/repos/rakyll/boom/commits{/sha}","git_commits_url":"https://api.github.com/repos/rakyll/boom/git/commits{/sha}","comments_url":"https://api.github.com/repos/rakyll/boom/comments{/number}","issue_comment_url":"https://api.github.com/repos/rakyll/boom/issues/comments{/number}","contents_url":"https://api.github.com/repos/rakyll/boom/contents/{+path}","compare_url":"https://api.github.com/repos/rakyll/boom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rakyll/boom/merges","archive_url":"https://api.github.com/repos/rakyll/boom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rakyll/boom/downloads","issues_url":"https://api.github.com/repos/rakyll/boom/issues{/number}","pulls_url":"https://api.github.com/repos/rakyll/boom/pulls{/number}","milestones_url":"https://api.github.com/repos/rakyll/boom/milestones{/number}","notifications_url":"https://api.github.com/repos/rakyll/boom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rakyll/boom/labels{/name}","releases_url":"https://api.github.com/repos/rakyll/boom/releases{/id}","created_at":"2014-01-04T14:08:53Z","updated_at":"2015-11-03T07:54:43Z","pushed_at":"2015-11-03T10:34:19Z","git_url":"git://github.com/rakyll/boom.git","ssh_url":"git@github.com:rakyll/boom.git","clone_url":"https://github.com/rakyll/boom.git","svn_url":"https://github.com/rakyll/boom","homepage":"","size":782,"stargazers_count":3579,"watchers_count":3579,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":231,"mirror_url":null,"open_issues_count":37,"forks":231,"open_issues":37,"watchers":3579,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rakyll/boom/pulls/88"},"html":{"href":"https://github.com/rakyll/boom/pull/88"},"issue":{"href":"https://api.github.com/repos/rakyll/boom/issues/88"},"comments":{"href":"https://api.github.com/repos/rakyll/boom/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/rakyll/boom/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/rakyll/boom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rakyll/boom/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/rakyll/boom/statuses/14adff855bf39561e4b79302ab13d6e145e0c18c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":8,"deletions":1,"changed_files":2}}