{"action":"closed","issue":{"url":"https://api.github.com/repos/techpines/express.io/issues/129","labels_url":"https://api.github.com/repos/techpines/express.io/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/techpines/express.io/issues/129/comments","events_url":"https://api.github.com/repos/techpines/express.io/issues/129/events","html_url":"https://github.com/techpines/express.io/issues/129","id":118436280,"number":129,"title":"Endless connections with browserified socket io client","user":{"login":"werty1st","id":4736160,"avatar_url":"https://avatars.githubusercontent.com/u/4736160?v=3","gravatar_id":"","url":"https://api.github.com/users/werty1st","html_url":"https://github.com/werty1st","followers_url":"https://api.github.com/users/werty1st/followers","following_url":"https://api.github.com/users/werty1st/following{/other_user}","gists_url":"https://api.github.com/users/werty1st/gists{/gist_id}","starred_url":"https://api.github.com/users/werty1st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werty1st/subscriptions","organizations_url":"https://api.github.com/users/werty1st/orgs","repos_url":"https://api.github.com/users/werty1st/repos","events_url":"https://api.github.com/users/werty1st/events{/privacy}","received_events_url":"https://api.github.com/users/werty1st/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-23T17:56:27Z","updated_at":"2015-11-23T18:02:22Z","closed_at":"2015-11-23T18:02:22Z","body":"Hi,\r\n\r\ni try to use express.io with a browserified socket io client.\r\n\r\nServer:\r\n```javascript\r\nvar express  = require('express.io');\r\nvar app      = express().http().io();\r\napp.io.route('already', function(req) {\r\n\tconsole.log(\"app io ready\");\r\n});\r\n```\r\n\r\nClient:\r\n(browserify js_src/client.js -o public/bundle.js)\r\n```javascript\r\nvar io = require('socket.io-client');\r\nio.connect();\r\nsocket.emit('already');\r\n```\r\n\r\n\r\nThe result are endless request like:\r\n* http://localhost:8881/socket.io/?EIO=3&transport=polling&t=1448304185035-1\r\n* http://localhost:8881/socket.io/?EIO=3&transport=polling&t=1448304185074-2\r\n![Console](http://s17.postimg.org/miy4wwszz/Bildschirmfoto_vom_2015_11_23_19_43_51.png)\r\n\r\nIf i embed the script like this its working, but not browserfied :(\r\n```html\r\n<script src=\"/socket.io/socket.io.js\"></script>\t\r\n<script type=\"text/javascript\">\r\n\t\tsocket = io.connect();\r\n\t\tsocket.emit('already');\r\n</script>\r\n```\r\n\r\nHow can i resolve this?\r\n\r\n"}}