{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/discosrv/issues/10","labels_url":"https://api.github.com/repos/syncthing/discosrv/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/discosrv/issues/10/comments","events_url":"https://api.github.com/repos/syncthing/discosrv/issues/10/events","html_url":"https://github.com/syncthing/discosrv/pull/10","id":90516591,"number":10,"title":"Use URIs for discovery, add relay support","user":{"login":"AudriusButkevicius","id":1144861,"avatar_url":"https://avatars.githubusercontent.com/u/1144861?v=3","gravatar_id":"","url":"https://api.github.com/users/AudriusButkevicius","html_url":"https://github.com/AudriusButkevicius","followers_url":"https://api.github.com/users/AudriusButkevicius/followers","following_url":"https://api.github.com/users/AudriusButkevicius/following{/other_user}","gists_url":"https://api.github.com/users/AudriusButkevicius/gists{/gist_id}","starred_url":"https://api.github.com/users/AudriusButkevicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudriusButkevicius/subscriptions","organizations_url":"https://api.github.com/users/AudriusButkevicius/orgs","repos_url":"https://api.github.com/users/AudriusButkevicius/repos","events_url":"https://api.github.com/users/AudriusButkevicius/events{/privacy}","received_events_url":"https://api.github.com/users/AudriusButkevicius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-23T23:28:34Z","updated_at":"2015-07-12T04:37:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syncthing/discosrv/pulls/10","html_url":"https://github.com/syncthing/discosrv/pull/10","diff_url":"https://github.com/syncthing/discosrv/pull/10.diff","patch_url":"https://github.com/syncthing/discosrv/pull/10.patch"},"body":"I guess this is for discussion/review now.\r\n\r\nTwo things I don't like.\r\n\r\n1. The big SplitHostPort chunk in `update`. Not even sure it does the correct thing, and probably fails for portless addresses.\r\n2. The fact that we always replace the relays, not sure what the behaviour should be here."},"comment":{"url":"https://api.github.com/repos/syncthing/discosrv/issues/comments/120686714","html_url":"https://github.com/syncthing/discosrv/pull/10#issuecomment-120686714","issue_url":"https://api.github.com/repos/syncthing/discosrv/issues/10","id":120686714,"user":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T04:37:50Z","updated_at":"2015-07-12T04:37:50Z","body":"What kind of URLs are going to be supported?\r\n\r\n```\r\nbep://host:22000/\r\nbep://host:22000/?params=stuff\r\nbep://:22000/\r\nbep://justhost/\r\n```\r\n\r\nThe last one would fail the SplitHostPort case, the others ought to be fine... I don't know of a convincing reason the allow announcements without port number here, so this should be OK?"}}