From 25c816f43ef134149ea3ae6db2490409453298cb Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Mon, 25 Jul 2022 19:01:08 +0900 Subject: [PATCH] Fix #1509 HTTPReceiver does not immediately respond to an invalid signature request (no response instead) --- src/receivers/HTTPModuleFunctions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/receivers/HTTPModuleFunctions.ts b/src/receivers/HTTPModuleFunctions.ts index 426ddd7a1..b04bc3f8d 100644 --- a/src/receivers/HTTPModuleFunctions.ts +++ b/src/receivers/HTTPModuleFunctions.ts @@ -129,6 +129,7 @@ export class HTTPModuleFunctions { public static buildNoBodyResponse(res: ServerResponse, status: number): void { res.writeHead(status); + res.end(); } // eslint-disable-next-line @typescript-eslint/no-explicit-any