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!
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!