{"action":"created","issue":{"url":"https://api.github.com/repos/radare/radare2/issues/3400","labels_url":"https://api.github.com/repos/radare/radare2/issues/3400/labels{/name}","comments_url":"https://api.github.com/repos/radare/radare2/issues/3400/comments","events_url":"https://api.github.com/repos/radare/radare2/issues/3400/events","html_url":"https://github.com/radare/radare2/issues/3400","id":109394539,"number":3400,"title":"race condition in socket handling","user":{"login":"dsockwell","id":498315,"avatar_url":"https://avatars.githubusercontent.com/u/498315?v=3","gravatar_id":"","url":"https://api.github.com/users/dsockwell","html_url":"https://github.com/dsockwell","followers_url":"https://api.github.com/users/dsockwell/followers","following_url":"https://api.github.com/users/dsockwell/following{/other_user}","gists_url":"https://api.github.com/users/dsockwell/gists{/gist_id}","starred_url":"https://api.github.com/users/dsockwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsockwell/subscriptions","organizations_url":"https://api.github.com/users/dsockwell/orgs","repos_url":"https://api.github.com/users/dsockwell/repos","events_url":"https://api.github.com/users/dsockwell/events{/privacy}","received_events_url":"https://api.github.com/users/dsockwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-01T22:05:52Z","updated_at":"2015-10-01T22:32:41Z","closed_at":null,"body":"When using radare2's network code on a less-than-instantaneous network, transmissions get cut off RST, ACK if they aren't finished in about 8ms. I believe the problem is close to https://github.com/radare/radare2/blob/master/libr/socket/socket.c#L489\r\n\r\nbrief packet trace: http://sprunge.us/DcEe\r\nseriously long packet trace: http://sprunge.us/eVjH\r\n"},"comment":{"url":"https://api.github.com/repos/radare/radare2/issues/comments/144866951","html_url":"https://github.com/radare/radare2/issues/3400#issuecomment-144866951","issue_url":"https://api.github.com/repos/radare/radare2/issues/3400","id":144866951,"user":{"login":"dsockwell","id":498315,"avatar_url":"https://avatars.githubusercontent.com/u/498315?v=3","gravatar_id":"","url":"https://api.github.com/users/dsockwell","html_url":"https://github.com/dsockwell","followers_url":"https://api.github.com/users/dsockwell/followers","following_url":"https://api.github.com/users/dsockwell/following{/other_user}","gists_url":"https://api.github.com/users/dsockwell/gists{/gist_id}","starred_url":"https://api.github.com/users/dsockwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsockwell/subscriptions","organizations_url":"https://api.github.com/users/dsockwell/orgs","repos_url":"https://api.github.com/users/dsockwell/repos","events_url":"https://api.github.com/users/dsockwell/events{/privacy}","received_events_url":"https://api.github.com/users/dsockwell/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T22:32:41Z","updated_at":"2015-10-01T22:32:41Z","body":"code for the http server has some explicit closing of the socket, too.\r\n\r\nhttps://github.com/radare/radare2/blob/master/libr/socket/http_server.c#L133"}}