{"action":"created","issue":{"url":"https://api.github.com/repos/ruby/ruby/issues/1117","labels_url":"https://api.github.com/repos/ruby/ruby/issues/1117/labels{/name}","comments_url":"https://api.github.com/repos/ruby/ruby/issues/1117/comments","events_url":"https://api.github.com/repos/ruby/ruby/issues/1117/events","html_url":"https://github.com/ruby/ruby/pull/1117","id":119497521,"number":1117,"title":"Backport nonblocking connect in net/http to Ruby 2.1","user":{"login":"fxposter","id":109216,"avatar_url":"https://avatars.githubusercontent.com/u/109216?v=3","gravatar_id":"","url":"https://api.github.com/users/fxposter","html_url":"https://github.com/fxposter","followers_url":"https://api.github.com/users/fxposter/followers","following_url":"https://api.github.com/users/fxposter/following{/other_user}","gists_url":"https://api.github.com/users/fxposter/gists{/gist_id}","starred_url":"https://api.github.com/users/fxposter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxposter/subscriptions","organizations_url":"https://api.github.com/users/fxposter/orgs","repos_url":"https://api.github.com/users/fxposter/repos","events_url":"https://api.github.com/users/fxposter/events{/privacy}","received_events_url":"https://api.github.com/users/fxposter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T13:59:49Z","updated_at":"2015-12-02T01:37:58Z","closed_at":"2015-12-02T01:37:16Z","pull_request":{"url":"https://api.github.com/repos/ruby/ruby/pulls/1117","html_url":"https://github.com/ruby/ruby/pull/1117","diff_url":"https://github.com/ruby/ruby/pull/1117.diff","patch_url":"https://github.com/ruby/ruby/pull/1117.patch"},"body":"Backport https://github.com/ruby/ruby/commit/bab5bf0c79ba310eb2606c079315de417a3cccc9 to Ruby 2.1.\r\n\r\nTime.new is used instead of `Process.clock_gettime` in order of being\r\nconsistent with https://github.com/ruby/ruby/blob/v2_1_7/lib/net/http.rb#L918.\r\n\r\nAlso, the code was rewritten to use exceptions instead of return value,\r\nbecause Ruby < 2.3 does not support passing options to `connect_nonblock`."},"comment":{"url":"https://api.github.com/repos/ruby/ruby/issues/comments/161152005","html_url":"https://github.com/ruby/ruby/pull/1117#issuecomment-161152005","issue_url":"https://api.github.com/repos/ruby/ruby/issues/1117","id":161152005,"user":{"login":"hsbt","id":12301,"avatar_url":"https://avatars.githubusercontent.com/u/12301?v=3","gravatar_id":"","url":"https://api.github.com/users/hsbt","html_url":"https://github.com/hsbt","followers_url":"https://api.github.com/users/hsbt/followers","following_url":"https://api.github.com/users/hsbt/following{/other_user}","gists_url":"https://api.github.com/users/hsbt/gists{/gist_id}","starred_url":"https://api.github.com/users/hsbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsbt/subscriptions","organizations_url":"https://api.github.com/users/hsbt/orgs","repos_url":"https://api.github.com/users/hsbt/repos","events_url":"https://api.github.com/users/hsbt/events{/privacy}","received_events_url":"https://api.github.com/users/hsbt/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T01:37:58Z","updated_at":"2015-12-02T01:37:58Z","body":"see https://github.com/ruby/ruby/pull/1118#issuecomment-161151939"}}