{"action":"created","issue":{"url":"https://api.github.com/repos/mrniko/netty-socketio/issues/200","labels_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/200/comments","events_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/200/events","html_url":"https://github.com/mrniko/netty-socketio/issues/200","id":55328409,"number":200,"title":"Socket.IO Client 1.3.2 XHR Polling Issue","user":{"login":"JonmarkWeber","id":10508092,"avatar_url":"https://avatars.githubusercontent.com/u/10508092?v=3","gravatar_id":"","url":"https://api.github.com/users/JonmarkWeber","html_url":"https://github.com/JonmarkWeber","followers_url":"https://api.github.com/users/JonmarkWeber/followers","following_url":"https://api.github.com/users/JonmarkWeber/following{/other_user}","gists_url":"https://api.github.com/users/JonmarkWeber/gists{/gist_id}","starred_url":"https://api.github.com/users/JonmarkWeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonmarkWeber/subscriptions","organizations_url":"https://api.github.com/users/JonmarkWeber/orgs","repos_url":"https://api.github.com/users/JonmarkWeber/repos","events_url":"https://api.github.com/users/JonmarkWeber/events{/privacy}","received_events_url":"https://api.github.com/users/JonmarkWeber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrniko/netty-socketio/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-23T20:26:27Z","updated_at":"2015-01-26T10:59:38Z","closed_at":null,"body":"About 4 days ago a new version of the Socket.IO client was released.  With this release it seems that the XHR Polling connection process has changed.  In 1.2.1 you were getting binary data, and identifying the that the packet was not a String packet, and then skipping the binary header data and processing the packet like normal.  In 1.3.2 you first receive this packet from the client:\r\n\r\n35:40/namespace\r\n\r\nWhich obviously is not binary data, so then you take the first character as the packet type (pong) and your done...  Then the client sends this packet:\r\n\r\n:40/namespace\r\n\r\nAnd you translate the first character into a packet type (integer 10) which does not correspond to a packet type and it fails.  The 4 after the : is the actual packet type, though I am not sure why this format has changed between 1.2.1 and 1.3.2.  We have reverted back to using the 1.2.1 client until the Netty Socket.IO is updated to work with the 1.3.2 Socket.IO Client.\r\n\r\nI only understand enough to get this data to you, and it seems like a issue that needs solving on the Netty Socket.IO side, though you would know better if its actually a issue with the Socket.IO Client."},"comment":{"url":"https://api.github.com/repos/mrniko/netty-socketio/issues/comments/71444409","html_url":"https://github.com/mrniko/netty-socketio/issues/200#issuecomment-71444409","issue_url":"https://api.github.com/repos/mrniko/netty-socketio/issues/200","id":71444409,"user":{"login":"mrniko","id":1104661,"avatar_url":"https://avatars.githubusercontent.com/u/1104661?v=3","gravatar_id":"","url":"https://api.github.com/users/mrniko","html_url":"https://github.com/mrniko","followers_url":"https://api.github.com/users/mrniko/followers","following_url":"https://api.github.com/users/mrniko/following{/other_user}","gists_url":"https://api.github.com/users/mrniko/gists{/gist_id}","starred_url":"https://api.github.com/users/mrniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrniko/subscriptions","organizations_url":"https://api.github.com/users/mrniko/orgs","repos_url":"https://api.github.com/users/mrniko/repos","events_url":"https://api.github.com/users/mrniko/events{/privacy}","received_events_url":"https://api.github.com/users/mrniko/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T10:59:38Z","updated_at":"2015-01-26T10:59:38Z","body":"@evgeny-pasynkov a lot of changes there!"}}