mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
96b652fb52
The motivation for supporting an alternative to WebSockets is that while all browsers supported by Grist offer native WebSocket support, some networking environments do not allow WebSocket traffic. Engine.IO is used as the underlying implementation of HTTP long polling. The Grist client will first attempt a regular WebSocket connection, using the same protocol and endpoints as before, but fall back to long polling using Engine.IO if the WebSocket connection fails. Include these changes: - CORS websocket requests are now rejected as a stronger security measure. This shouldn’t affect anything in practice; but previously it could be possible to make unauthenticated websocket requests from another origin. - GRIST_HOST variable no longer affects CORS responses (also should not affect anything in practice, as it wasn't serving a useful purpose) |
||
---|---|---|
.. | ||
client | ||
client-harness | ||
common | ||
deployment | ||
fixtures | ||
formula-dataset | ||
gen-server | ||
nbrowser | ||
server | ||
timings | ||
.eslintrc.js | ||
chai-as-promised.js | ||
declarations.d.ts | ||
init-mocha-webdriver.js | ||
report-why-tests-hang.js | ||
setupPaths.js | ||
split-tests.js | ||
test_under_docker.sh | ||
testUtils.ts | ||
tsconfig.json | ||
upgradeDocument | ||
upgradeDocumentImpl.ts | ||
utils.js | ||
xunit-file.js |