-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
getSocketAddr returned undefined, when the socket is disconnected #12
Comments
Hello, and thank you for the report. This is the API from Node.js; if you are trying to report this as a bug, you will need to report to Node.js, but if you are trying to report it as a bug to this module, please help us by providing what API should be used instead, thank you! |
For nodejs, this is not a bug: |
undefined can cause unexpected damage, and it is described as string[] in types |
Gotcha. So then what is the issue about? |
I'm not sure what this means. If you are saying there is an issue with the typings, you'll need to open an issue on the definatelytyped repo. |
@dougwilson
fyi) https://nodejs.org/dist/latest-v16.x/docs/api/http.html#messagesocket
|
https://github.com/jshttp/forwarded/blob/master/index.js#L46
The text was updated successfully, but these errors were encountered: