-
Notifications
You must be signed in to change notification settings - Fork 2k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RangeError: Invalid status code: 0 #1080
Comments
@philios33 Could you inspect whats coming back from the response by logging on the |
This can easily be reproduced with the following HTTP response (e.g. via netcat):
|
This is a regression, caused by stricter status validation in Node.js (nodejs/node@7e9b0dd) via nodejs/node#6291 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I have no idea how this happens but I am getting this crash dump when I proxy some requests. It's especially annoying because I can't catch the Exception in my code as it happens in the http-proxy code.
Could we add some sanity check in here? I noticed that _http_server.js does this.
Using version 1.15.2 of http-proxy
Thanks
The text was updated successfully, but these errors were encountered: