You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
Not entirely sure if their recommendations apply here since you do in fact use reply.send(body) in your Fastify adapter—but this does error out in a way that's eerily close, still.
Appreciate any insight you can get me—love the library otherwise, thanks!
The text was updated successfully, but these errors were encountered:
NaimKabir
changed the title
Fastify adapter fails when used together with fastify-compression
Fastify adapter fails when used together with fastify-compress
May 17, 2024
NaimKabir
changed the title
Fastify adapter fails when used together with fastify-compress
Fastify adapter fails with 'premature close' error when used together with fastify-compress
May 17, 2024
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you modify the simple starter example with compression:
This will fail for responses that include very long strings (more than a kilobyte).
Logging verbosely with Fastify in these cases reveals this error:
This is related to issues filed but closed as caller-errors in the
fastify-compress
repo:Not entirely sure if their recommendations apply here since you do in fact use
reply.send(body)
in your Fastify adapter—but this does error out in a way that's eerily close, still.Appreciate any insight you can get me—love the library otherwise, thanks!
The text was updated successfully, but these errors were encountered: