{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/13111","labels_url":"https://api.github.com/repos/golang/go/issues/13111/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/13111/comments","events_url":"https://api.github.com/repos/golang/go/issues/13111/events","html_url":"https://github.com/golang/go/issues/13111","id":114349701,"number":13111,"title":"crypto/tls: Dotted-quad Servername given in ServerNameList extension","user":{"login":"RalphCorderoy","id":2013707,"avatar_url":"https://avatars.githubusercontent.com/u/2013707?v=3","gravatar_id":"","url":"https://api.github.com/users/RalphCorderoy","html_url":"https://github.com/RalphCorderoy","followers_url":"https://api.github.com/users/RalphCorderoy/followers","following_url":"https://api.github.com/users/RalphCorderoy/following{/other_user}","gists_url":"https://api.github.com/users/RalphCorderoy/gists{/gist_id}","starred_url":"https://api.github.com/users/RalphCorderoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalphCorderoy/subscriptions","organizations_url":"https://api.github.com/users/RalphCorderoy/orgs","repos_url":"https://api.github.com/users/RalphCorderoy/repos","events_url":"https://api.github.com/users/RalphCorderoy/events{/privacy}","received_events_url":"https://api.github.com/users/RalphCorderoy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"agl","id":21203,"avatar_url":"https://avatars.githubusercontent.com/u/21203?v=3","gravatar_id":"","url":"https://api.github.com/users/agl","html_url":"https://github.com/agl","followers_url":"https://api.github.com/users/agl/followers","following_url":"https://api.github.com/users/agl/following{/other_user}","gists_url":"https://api.github.com/users/agl/gists{/gist_id}","starred_url":"https://api.github.com/users/agl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agl/subscriptions","organizations_url":"https://api.github.com/users/agl/orgs","repos_url":"https://api.github.com/users/agl/repos","events_url":"https://api.github.com/users/agl/events{/privacy}","received_events_url":"https://api.github.com/users/agl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/6","html_url":"https://github.com/golang/go/milestones/Unplanned","labels_url":"https://api.github.com/repos/golang/go/milestones/6/labels","id":1055141,"number":6,"title":"Unplanned","description":"No plan to fix in any specific release.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":1124,"closed_issues":156,"state":"open","created_at":"2015-04-06T20:47:19Z","updated_at":"2015-11-10T22:17:37Z","due_on":"2099-12-31T05:00:00Z","closed_at":null},"comments":6,"created_at":"2015-10-30T20:25:04Z","updated_at":"2015-11-10T22:17:37Z","closed_at":"2015-11-10T22:17:37Z","body":"http://tools.ietf.org/html/rfc6066#section-3 defines Server Name Indication and says «The hostname is represented as a byte string using ASCII encoding without a trailing dot... Literal IPv4 and IPv6 addresses are not permitted in \"HostName\"». I take that to mean a dotted-quad ASCII string isn't allowed, perhaps to avoid the ambiguity of it and the destination IP address differing. The alternative is it means a 32-bit IPv4 address cannot be given, but that's already ruled out by \"ASCII encoding\".\r\n\r\nA tls.Dial(\"tcp\", \"3.1.4.1:5\", ...) passes \"3.1.4.1\" in the TLS's ClientHello."}}