-
- Notifications
You must be signed in to change notification settings - Fork 728
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The bug was introduced in v6.20, the timeout that is set less than a second is ignored, Its a breaking change in minor version
server
const Fastify = require('fastify') const fastify = Fastify() fastify.all('*', async (req, reply) => { await new Promise((resolve) => setTimeout(resolve, 500)) return reply.status(200).send(req.url) }); fastify.listen({ port: 3000 })client
const undici = require('undici') undici.request('http://localhost:3000', { headersTimeout: 300, }).then((response) => { console.log(response.statusCode) })Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working