{"issue":{"created_at":"2011-07-23T18:41:31Z","state":"open","updated_at":"2011-11-27T21:31:23Z","user":{"gravatar_id":"c1036d7173609b0ca0b0a9446ddae4b4","id":934563,"url":"https://api.github.com/users/Protozoazn","login":"Protozoazn","avatar_url":"https://secure.gravatar.com/avatar/c1036d7173609b0ca0b0a9446ddae4b4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":19,"body":"The following code doesn't work for me:\r\nsocket = io.connect('http://host.com:8081');socket.disconnect();socket = io.connect('http://host.com:8081');\r\n\r\nThis is a workaround I've found:\r\nsocket = io.connect('http://host.com:8081');socket.disconnect();delete io.sockets['http://host.com:8081'];io.j = [];socket = io.connect('http://host.com:8081');\r\n\r\n","assignee":null,"id":1275503,"number":251,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"color":"e10c02","name":"Bug","url":"https://api.github.com/repos/LearnBoost/socket.io-client/labels/Bug"},{"color":"5a00ff","name":"Unable to reproduce","url":"https://api.github.com/repos/LearnBoost/socket.io-client/labels/Unable+to+reproduce"}],"title":"Connect -> Disconnect -> Connect doesn't work","closed_at":null,"html_url":"https://github.com/LearnBoost/socket.io-client/issues/251","milestone":null,"url":"https://api.github.com/repos/LearnBoost/socket.io-client/issues/251"},"action":"created","comment":{"created_at":"2011-11-27T21:31:23Z","updated_at":"2011-11-27T21:31:23Z","user":{"gravatar_id":"495fa98e6767ef3497fb56edb1b8d46a","id":179880,"url":"https://api.github.com/users/MrJoes","login":"MrJoes","avatar_url":"https://secure.gravatar.com/avatar/495fa98e6767ef3497fb56edb1b8d46a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"ah, great news :-)","id":2890291,"url":"https://api.github.com/repos/LearnBoost/socket.io-client/issues/comments/2890291"}}