-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting reponse timeout handler throws an error if request is sent in through FastifyInstance.inject #74
Comments
Good find! I think this is a bug in https://github.com/fastify/light-my-request (which powers Note that this has nothing to do with fastify-http-proxy |
Just finished it, i'll file a PR in minutes |
@mcollina shall I close this issue or wait until the PR gets merged? |
Yes, we can close this. |
馃悰 Bug Report
It seems that fastify-http-proxy does not allow to set a response timeout handler if the original request is sent in to fastify throug FastifyInstance.inject
To Reproduce
Assume I have the following configuration:
I have a test case that would test if the timeout is working:
Expected behavior
The test case should be successful, but it fails with the following error:
This test fails with the followig error:
Your Environment
The text was updated successfully, but these errors were encountered: