Tim Abbott
007d4becfd
Revert "update-sockjs: Update sockjs from version 0.3.4 to 1.1.1."
...
This reverts commit 7bf10ec74f
.
Apparently, SockJS 1.1.1 is broken with the browser used in our legacy
desktop app, resulting in messages being silently not sent.
2017-01-10 11:46:15 -08:00
K.Kanakhin
7bf10ec74f
update-sockjs: Update sockjs from version 0.3.4 to 1.1.1.
...
- Add browserify to npm dependencies.
- Add SockJS-client to npm dependencies.
- Add npm postinstall script to generate browser version of SockJS-client
from npm package.
- Change deprecated SockJS object property 'protocol_whitelist' to
'transports'.
- Fix settings.
2016-12-05 21:36:10 -08:00
Leo Franchi
2452a5c0b2
Broadcast an event right before and after doing the WebSocket handshake
...
(imported from commit 29b80c3b72a2f98c25b59dca3d1597cc5e5f2605)
2013-12-05 16:21:59 -05:00
Zev Benjamin
ddd3af0a36
sockjs: Don't throw an exception when _didClose is called when readyState is CLOSED
...
This clearly happens in practice, so return early instead of throwing an
exception.
(imported from commit 79d9624ed071aa87ace4b09a187a128b5728748d)
2013-11-19 11:06:14 -05:00
Zev Benjamin
7da51fd6a8
Cache-bust requests for /sockjs/info
...
This works around a bug in Chrome:
https://code.google.com/p/chromium/issues/detail?id=263981
(imported from commit 0e35a8a05c0742ce3f06ee060771cd5b306bcee4)
2013-10-22 18:45:11 -04:00
Zev Benjamin
2c3c8c0bda
Add sockjs library
...
(imported from commit 6fcb92d0160d91d68c3ca354929bce2dbf6be4fe)
2013-10-22 18:45:11 -04:00