Files
gristlabs_grist-core/test
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
..
2022-09-30 17:00:38 +02:00
2024-07-23 11:49:23 -04:00
2024-08-14 16:48:36 -04:00
2023-10-11 17:36:58 -04:00
2023-10-11 17:36:58 -04:00
2022-07-04 10:42:40 -04:00