Skip to content

Commit

Permalink
fixed unresponsive server fastify#3283
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishanu230 committed Aug 31, 2021
1 parent 1492956 commit f882342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reply.js
Expand Up @@ -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,
Expand Down

0 comments on commit f882342

Please sign in to comment.