{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/454","repository_url":"https://api.github.com/repos/arvidn/libtorrent","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/454/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/454/events","html_url":"https://github.com/arvidn/libtorrent/issues/454","id":130919955,"number":454,"title":"re-binding the UDP socket immediately sometimes fails 1.0","user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-03T05:46:00Z","updated_at":"2016-02-25T04:21:34Z","closed_at":null,"body":"@sledgehammer999 I modified your example from https://github.com/arvidn/libtorrent/issues/450 to try to trigger the bug, adding:\r\n\r\n```\r\n\tsession_settings p;\r\n\tfor (int i = 0; i < 100; ++i)\r\n\t{\r\n\t\tp.ssl_listen = 0;\r\n\t\tnativeSession.set_settings(p);\r\n\t\tp.ssl_listen = 4422;\r\n\t\tnativeSession.set_settings(p);\r\n\t}\r\n```\r\n\r\non OSX I cannot trigger the issue. I will try on windows as well."},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/188607667","html_url":"https://github.com/arvidn/libtorrent/issues/454#issuecomment-188607667","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/454","id":188607667,"user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T04:21:34Z","updated_at":"2016-02-25T04:21:34Z","body":"could you give this a try? It's mostly a hunch. https://github.com/arvidn/libtorrent/pull/494"}}