gristlabs_grist-core/test/server/lib
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
..
helpers (core) Port allocation fix in TestServer 2024-06-24 22:10:58 +02:00
ACLFormula.ts
ACLRulesReader.ts
Assistance.ts
Authorizer.ts Extracts config.json into its own module (#1061) 2024-07-08 15:40:45 +01:00
config.ts config: remove all async/await around config read functions 2024-07-18 14:32:46 -04:00
configCore.ts config: remove all async/await around config read functions 2024-07-18 14:32:46 -04:00
configCoreFileFormats.ts config: remove all async/await around config read functions 2024-07-18 14:32:46 -04:00
DocApi2.ts
DocApi.ts Add authorization header in webhooks stored in secrets table (#941) 2024-07-04 14:17:10 +02:00
GranularAccess.ts make access control for ConvertFromColumn action less brutal (#1111) 2024-07-24 11:41:50 -04:00
GristSockets.ts (core) Fix unhandledRejection caused by exception from verifyClient. 2024-08-15 17:32:44 -04:00
HostedStorageManager.ts Remove GRIST_SKIP_REDIS_CHECKSUM_MISMATCH (#1098) 2024-07-10 14:28:20 -04:00
ManyFetches.ts
MemoryPool.ts
MinIOExternalStorage.ts Shutdown Doc worker when it is not considered as available in Redis #831 (#856) 2024-04-04 10:25:42 -04:00
OIDCConfig.ts Support nonce and acr with OIDC + other improvements and tests (#883) 2024-08-08 15:35:37 -04:00
ProxyAgent.ts (core) Add logging of errors whenever ProxyAgent is used, and a test for it. 2023-05-17 10:21:53 -04:00
Telemetry.ts
UnhandledErrors.ts
Webhooks-Proxy.ts (core) Adding UI for timing API 2024-05-22 14:56:53 +02:00