{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/ncw/swift/pulls/41","id":35733187,"html_url":"https://github.com/ncw/swift/pull/41","diff_url":"https://github.com/ncw/swift/pull/41.diff","patch_url":"https://github.com/ncw/swift/pull/41.patch","issue_url":"https://api.github.com/repos/ncw/swift/issues/41","number":41,"state":"open","locked":false,"title":"Retry when getting an EOF on HEAD/GET requests because of a Golang bug","user":{"login":"lebauce","id":28005,"avatar_url":"https://avatars.githubusercontent.com/u/28005?v=3","gravatar_id":"","url":"https://api.github.com/users/lebauce","html_url":"https://github.com/lebauce","followers_url":"https://api.github.com/users/lebauce/followers","following_url":"https://api.github.com/users/lebauce/following{/other_user}","gists_url":"https://api.github.com/users/lebauce/gists{/gist_id}","starred_url":"https://api.github.com/users/lebauce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lebauce/subscriptions","organizations_url":"https://api.github.com/users/lebauce/orgs","repos_url":"https://api.github.com/users/lebauce/repos","events_url":"https://api.github.com/users/lebauce/events{/privacy}","received_events_url":"https://api.github.com/users/lebauce/received_events","type":"User","site_admin":false},"body":"When running a 30 minutes testsuite (https://github.com/lebauce/distribution), I faced a weird issue : I sometimes got a url.Error : \"Head https://my.swift.server/v1/AUTH_abcdb3abcda34a1c8d618164d99eb53e/test/myobject : EOF\". I'm using the 1.4.2 version of Go.\r\n\r\nThe issue seems to be in the `net/http` library and is described in both tickets :\r\nhttps://github.com/golang/go/issues/4677\r\nhttps://github.com/golang/go/issues/8946\r\n\r\nA fix on `net/http` is under review : https://golang.org/cl/3210\r\n\r\nA fix for this problem is simply to send the request again when the request was a HEAD or a GET","created_at":"2015-05-19T14:02:33Z","updated_at":"2015-05-19T14:02:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ncw/swift/pulls/41/commits","review_comments_url":"https://api.github.com/repos/ncw/swift/pulls/41/comments","review_comment_url":"https://api.github.com/repos/ncw/swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ncw/swift/issues/41/comments","statuses_url":"https://api.github.com/repos/ncw/swift/statuses/677cb70f5d40fa1a81ddb32f872615a57bb42381","head":{"label":"lebauce:retry-on-eof","ref":"retry-on-eof","sha":"677cb70f5d40fa1a81ddb32f872615a57bb42381","user":{"login":"lebauce","id":28005,"avatar_url":"https://avatars.githubusercontent.com/u/28005?v=3","gravatar_id":"","url":"https://api.github.com/users/lebauce","html_url":"https://github.com/lebauce","followers_url":"https://api.github.com/users/lebauce/followers","following_url":"https://api.github.com/users/lebauce/following{/other_user}","gists_url":"https://api.github.com/users/lebauce/gists{/gist_id}","starred_url":"https://api.github.com/users/lebauce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lebauce/subscriptions","organizations_url":"https://api.github.com/users/lebauce/orgs","repos_url":"https://api.github.com/users/lebauce/repos","events_url":"https://api.github.com/users/lebauce/events{/privacy}","received_events_url":"https://api.github.com/users/lebauce/received_events","type":"User","site_admin":false},"repo":{"id":30359680,"name":"swift","full_name":"lebauce/swift","owner":{"login":"lebauce","id":28005,"avatar_url":"https://avatars.githubusercontent.com/u/28005?v=3","gravatar_id":"","url":"https://api.github.com/users/lebauce","html_url":"https://github.com/lebauce","followers_url":"https://api.github.com/users/lebauce/followers","following_url":"https://api.github.com/users/lebauce/following{/other_user}","gists_url":"https://api.github.com/users/lebauce/gists{/gist_id}","starred_url":"https://api.github.com/users/lebauce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lebauce/subscriptions","organizations_url":"https://api.github.com/users/lebauce/orgs","repos_url":"https://api.github.com/users/lebauce/repos","events_url":"https://api.github.com/users/lebauce/events{/privacy}","received_events_url":"https://api.github.com/users/lebauce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lebauce/swift","description":"Go language interface to Swift / Openstack Object Storage / Rackspace cloud files (golang)","fork":true,"url":"https://api.github.com/repos/lebauce/swift","forks_url":"https://api.github.com/repos/lebauce/swift/forks","keys_url":"https://api.github.com/repos/lebauce/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lebauce/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lebauce/swift/teams","hooks_url":"https://api.github.com/repos/lebauce/swift/hooks","issue_events_url":"https://api.github.com/repos/lebauce/swift/issues/events{/number}","events_url":"https://api.github.com/repos/lebauce/swift/events","assignees_url":"https://api.github.com/repos/lebauce/swift/assignees{/user}","branches_url":"https://api.github.com/repos/lebauce/swift/branches{/branch}","tags_url":"https://api.github.com/repos/lebauce/swift/tags","blobs_url":"https://api.github.com/repos/lebauce/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lebauce/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lebauce/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/lebauce/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lebauce/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/lebauce/swift/languages","stargazers_url":"https://api.github.com/repos/lebauce/swift/stargazers","contributors_url":"https://api.github.com/repos/lebauce/swift/contributors","subscribers_url":"https://api.github.com/repos/lebauce/swift/subscribers","subscription_url":"https://api.github.com/repos/lebauce/swift/subscription","commits_url":"https://api.github.com/repos/lebauce/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/lebauce/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/lebauce/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/lebauce/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/lebauce/swift/contents/{+path}","compare_url":"https://api.github.com/repos/lebauce/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lebauce/swift/merges","archive_url":"https://api.github.com/repos/lebauce/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lebauce/swift/downloads","issues_url":"https://api.github.com/repos/lebauce/swift/issues{/number}","pulls_url":"https://api.github.com/repos/lebauce/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/lebauce/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/lebauce/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lebauce/swift/labels{/name}","releases_url":"https://api.github.com/repos/lebauce/swift/releases{/id}","created_at":"2015-02-05T14:34:12Z","updated_at":"2015-02-05T14:34:12Z","pushed_at":"2015-05-19T14:01:35Z","git_url":"git://github.com/lebauce/swift.git","ssh_url":"git@github.com:lebauce/swift.git","clone_url":"https://github.com/lebauce/swift.git","svn_url":"https://github.com/lebauce/swift","homepage":null,"size":360,"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":"ncw:master","ref":"master","sha":"4ea0c92518105f1be06857dd9c71014b5efb020d","user":{"login":"ncw","id":536803,"avatar_url":"https://avatars.githubusercontent.com/u/536803?v=3","gravatar_id":"","url":"https://api.github.com/users/ncw","html_url":"https://github.com/ncw","followers_url":"https://api.github.com/users/ncw/followers","following_url":"https://api.github.com/users/ncw/following{/other_user}","gists_url":"https://api.github.com/users/ncw/gists{/gist_id}","starred_url":"https://api.github.com/users/ncw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncw/subscriptions","organizations_url":"https://api.github.com/users/ncw/orgs","repos_url":"https://api.github.com/users/ncw/repos","events_url":"https://api.github.com/users/ncw/events{/privacy}","received_events_url":"https://api.github.com/users/ncw/received_events","type":"User","site_admin":false},"repo":{"id":6645769,"name":"swift","full_name":"ncw/swift","owner":{"login":"ncw","id":536803,"avatar_url":"https://avatars.githubusercontent.com/u/536803?v=3","gravatar_id":"","url":"https://api.github.com/users/ncw","html_url":"https://github.com/ncw","followers_url":"https://api.github.com/users/ncw/followers","following_url":"https://api.github.com/users/ncw/following{/other_user}","gists_url":"https://api.github.com/users/ncw/gists{/gist_id}","starred_url":"https://api.github.com/users/ncw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncw/subscriptions","organizations_url":"https://api.github.com/users/ncw/orgs","repos_url":"https://api.github.com/users/ncw/repos","events_url":"https://api.github.com/users/ncw/events{/privacy}","received_events_url":"https://api.github.com/users/ncw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ncw/swift","description":"Go language interface to Swift / Openstack Object Storage / Rackspace cloud files (golang)","fork":false,"url":"https://api.github.com/repos/ncw/swift","forks_url":"https://api.github.com/repos/ncw/swift/forks","keys_url":"https://api.github.com/repos/ncw/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ncw/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ncw/swift/teams","hooks_url":"https://api.github.com/repos/ncw/swift/hooks","issue_events_url":"https://api.github.com/repos/ncw/swift/issues/events{/number}","events_url":"https://api.github.com/repos/ncw/swift/events","assignees_url":"https://api.github.com/repos/ncw/swift/assignees{/user}","branches_url":"https://api.github.com/repos/ncw/swift/branches{/branch}","tags_url":"https://api.github.com/repos/ncw/swift/tags","blobs_url":"https://api.github.com/repos/ncw/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ncw/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ncw/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/ncw/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ncw/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/ncw/swift/languages","stargazers_url":"https://api.github.com/repos/ncw/swift/stargazers","contributors_url":"https://api.github.com/repos/ncw/swift/contributors","subscribers_url":"https://api.github.com/repos/ncw/swift/subscribers","subscription_url":"https://api.github.com/repos/ncw/swift/subscription","commits_url":"https://api.github.com/repos/ncw/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/ncw/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/ncw/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/ncw/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/ncw/swift/contents/{+path}","compare_url":"https://api.github.com/repos/ncw/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ncw/swift/merges","archive_url":"https://api.github.com/repos/ncw/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ncw/swift/downloads","issues_url":"https://api.github.com/repos/ncw/swift/issues{/number}","pulls_url":"https://api.github.com/repos/ncw/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/ncw/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/ncw/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ncw/swift/labels{/name}","releases_url":"https://api.github.com/repos/ncw/swift/releases{/id}","created_at":"2012-11-11T23:01:03Z","updated_at":"2015-05-10T23:51:29Z","pushed_at":"2015-05-18T16:52:14Z","git_url":"git://github.com/ncw/swift.git","ssh_url":"git@github.com:ncw/swift.git","clone_url":"https://github.com/ncw/swift.git","svn_url":"https://github.com/ncw/swift","homepage":null,"size":741,"stargazers_count":85,"watchers_count":85,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":5,"forks":17,"open_issues":5,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ncw/swift/pulls/41"},"html":{"href":"https://github.com/ncw/swift/pull/41"},"issue":{"href":"https://api.github.com/repos/ncw/swift/issues/41"},"comments":{"href":"https://api.github.com/repos/ncw/swift/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/ncw/swift/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/ncw/swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ncw/swift/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/ncw/swift/statuses/677cb70f5d40fa1a81ddb32f872615a57bb42381"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":0,"changed_files":1}}