You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Set up an http Server, when a websocket upgrade would be performed, the request does not contain a hostname property. But other normal http requests will contain in.
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
The req object in httpserver.on("upgrade",function(req,socket,head){....}) should contain a hostname property
What do you see instead?
req.hostname is missing
Additional information
In req.header and req.rawheader the host property is available including the port-number.
I need this feature to implement a http proxy with websocket support.
The text was updated successfully, but these errors were encountered:
Hello, I am not sure if they would put this feature support as priority on their list due to the rather old version. However, there is a similar discussion before which I think might help you. #16712
Version
10.16.0
Platform
4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Set up an http Server, when a websocket upgrade would be performed, the request does not contain a hostname property. But other normal http requests will contain in.
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
The req object in httpserver.on("upgrade",function(req,socket,head){....}) should contain a hostname property
What do you see instead?
req.hostname is missing
Additional information
In req.header and req.rawheader the host property is available including the port-number.
I need this feature to implement a http proxy with websocket support.
The text was updated successfully, but these errors were encountered: