gristlabs_grist-core/app
Dmitry S ef4180c8da (core) Fix unhandledRejection caused by exception from verifyClient.
Summary:
This includes two fixes: one to ensure that any exception from websocket
upgrade handlers are handled (by destroying the socket). A test case is
added for this.

The other is to ensure verifyClient returns false instead of failing; this
should lead to a better error to the client (Forbidden, rather than just socket
close). This is only tested manually with a curl request.

Test Plan: Added a test case for the more sensitive half of the fix.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Subscribers: georgegevoian

Differential Revision: https://phab.getgrist.com/D4323
2024-08-15 17:32:44 -04:00
..
client (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
common (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
gen-server Activations: add an enabled_at column 2024-08-06 15:06:36 -04:00
plugin Move phab docs to /documentation (#882) 2024-03-05 08:35:48 -05:00
server (core) Fix unhandledRejection caused by exception from verifyClient. 2024-08-15 17:32:44 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00