{"action":"opened","issue":{"url":"https://api.github.com/repos/eclipse/vert.x/issues/1524","repository_url":"https://api.github.com/repos/eclipse/vert.x","labels_url":"https://api.github.com/repos/eclipse/vert.x/issues/1524/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/vert.x/issues/1524/comments","events_url":"https://api.github.com/repos/eclipse/vert.x/issues/1524/events","html_url":"https://github.com/eclipse/vert.x/issues/1524","id":166306164,"number":1524,"title":"localhost resolve issue in Windows when using netty resolver","user":{"login":"alexlehm","id":156144,"avatar_url":"https://avatars.githubusercontent.com/u/156144?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlehm","html_url":"https://github.com/alexlehm","followers_url":"https://api.github.com/users/alexlehm/followers","following_url":"https://api.github.com/users/alexlehm/following{/other_user}","gists_url":"https://api.github.com/users/alexlehm/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlehm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlehm/subscriptions","organizations_url":"https://api.github.com/users/alexlehm/orgs","repos_url":"https://api.github.com/users/alexlehm/repos","events_url":"https://api.github.com/users/alexlehm/events{/privacy}","received_events_url":"https://api.github.com/users/alexlehm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-19T11:13:33Z","updated_at":"2016-07-19T11:13:33Z","closed_at":null,"body":"when using the netty resolver code (https://github.com/eclipse/vert.x/tree/netty-4.1.3.Final)\r\nthe resolution of \"localhost\" does not have the hostname set in the InetAddr object so that getHostName() returns the ip address. This breaks some unit tests using localhost and expecting \"localhost\" as hostname (e.g. tls cert check).\r\nI will create a netty issue for that, since their resolver code creates the object, but it would be good to implement a test and a fix inside vert.x as well, when the netty code is fixed, we can take out the fix in vert.x again (that mostly depends on what comes first, the next vert.x version or the next netty version and whether the netty people decide the fix is valid)\r\n"}}
{"actor":{"display_login":"alexlehm"}}