[Bug?]: Error when using Fastify Compress Plugin due to stream being closed prematurely #6765
Closed
1 task done
Labels
bug/confirmed
We have confirmed this is a bug
What's not working?
When registering the fastify/compress plugin
and making a request, there is an error in the compress plugin and fustily due to the stream closing prematurely:
How do we reproduce the bug?
See config above.
There is discussion on Fastify about such behavior:
fastify/fastify-compress#215
fastify/fastify#3651
Fix
A fix seems to be return the reply
and now can see that deflate is applied as the compression:
What's your environment? (If it applies)
No response
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: