From f8823426af699180cb3195f82b95ff42f4381d99 Mon Sep 17 00:00:00 2001 From: krishanu Date: Tue, 31 Aug 2021 17:01:38 +0530 Subject: [PATCH] fixed unresponsive server #3283 --- lib/reply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reply.js b/lib/reply.js index 935e80ee76..29a2be4a3c 100644 --- a/lib/reply.js +++ b/lib/reply.js @@ -377,8 +377,8 @@ function preserializeHookEnd (err, request, reply, payload) { } function onSendHook (reply, payload) { - reply[kReplySent] = true if (reply.context.onSend !== null) { + reply[kReplySent] = true onSendHookRunner( reply.context.onSend, reply.request,