Skip to content

Conversation

@nwoltman
Copy link
Contributor

Fixes #548

I did not implement my second suggestion from #548 because this test made me realize that async functions can be mixed with callbacks, so it might be a bad idea for fastify call reply.send() when a handler resolves but the response hasn't been sent yet.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@delvedor delvedor added the bugfix Issue or PR that should land as semver patch label Dec 18, 2017
@delvedor delvedor merged commit 9a33533 into fastify:master Dec 18, 2017
@nwoltman nwoltman deleted the fix-548 branch December 18, 2017 15:30
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bugfix Issue or PR that should land as semver patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question about async handlers that call reply.send()

3 participants