4 ms·
Note: this means that with the new version of Chromium, none of the web applications using Web Sockets will work. The connection will fail with an error about a
by thamer 16y ago
Note: this means that with the new version of Chromium, none of the web applications using Web Sockets will work. The connection will fail with an error about a protocol mismatch.
- axod 16y agoIt's pretty poor they couldn't work out how to make things backward compatible. Oh well, another job for me to do then... I just love reading through a billion pages of a spec to find the actual data I need which could have been written in a single page spec. bah. Would it be so hard for them to put the 'answer' somewhere? eg "To make your server work again, change "X" to "Y" in the headers". I'll say it again, the spec is simply insane. 18. Let /number_1/ be a random integer from 0 to /max_1/ inclusive. Let /number_2/ be a random integer from 0 to /max_2/ inclusive. EXAMPLE: For example, 777,007,543 and 114,997,259. 19. Let /product_1/ be the result of multiplying /number_1/ and /spaces_1/ together. Let /product_2/ be the result of multiplying /number_2/ and /spaces_2/ together. EXAMPLE: Continuing the example, 3,885,037,715 and 1,034,975,331.
- jeiting 16y agoWhen you do figure it out post it on HN ;)
- axod 16y agoSure :) I'll try and implement the changes in the next day or 2 and write up a summary of the differences. So far looking over the spec, it's just bizarre incompatible silly changes that don't really improve much.
- zokier 16y agoBackward compatibility to what? They are in progress of creating the first version now.
- axod 16y agoWebsockets have been in Chrome and in use for 6 months+. http://news.ycombinator.com/item?id=989680 http://news.ycombinator.com/item?id=989680 We have thousands of users using WebSocket every day. So this is kind of a pain in the neck.
- mike-cardwell 16y agoThis is what you get when you use an unfinished protocol which everybody knows is subject to change. Guess what, it might change again... They're still researching what is the best way to do this. You should be happy they're making improvements to the protocol you're using. If they say, "This is the finished product and there will be no further incompatible changes," and then make a change which breaks your app. Then you have a right to complain.
- axod 16y agoI'm looking through the spec now. There don't seem to be any improvements. Just incompatible changes made in bizarre ways. I'll post a summary of the changes tomorrow. These sort of things often seem like they're massively over engineered. You could figure out the best way to do websockets in an afternoon without too much fuss. Nothing is ever 'finished'. It's just a pain to break backward compatibility that's all.
- carussell 16y agoThese sort of things often seem like they're massively over engineered. Until you're the edge case who gets pissed off because they didn't make it flexible enough, or the boilerplate is arcane and doesn't really make sense with much of the normal use.
- sp332 16y agoIt looks like someone wrote an AI to convert code into English, and threw in one of their units tests too.