Be able to turn off websocket usage #1322
In case a reverse proxy is used for the web interface, and it cannot be configured to support websockets and sockjs does not detect that websocket support is missing, add the option to turn off server side support for websockets.
The implementation will then fall back to xhr methods or worse iframe polling for older IEs.
Due to implementation details this has to be done with a system property:
The text was updated successfully, but these errors were encountered:
this changes the default behavior to use xhr-polling (or even more basic polling techniques), while still allowing to use the websockets.enabled sytem property to turn on support for more permissive environments the default behavior should now properly use plain xhr requests (or xdr on IE 9), and fall back to jsonp or even iframe polling. fixes #1344, fixes #1353, refs #1338 #1322