-
-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
uri = "\(scheme)://\(host)\(relativePath)\(port)"
This will generate a url like wss://apple.com/asdf:55433
which is not valid for a normal target. For most wss connections the uri should be wss://app.com:443/relativepath
assuming the proxy config looks like localhost:55433
Fix: uri = "\(scheme)://\(host):\(port)\(relativePath)"
To Reproduce
Theres a test case that simulates the incorrect result.
Expected behavior
Environment
- Vapor Framework version:
- Vapor Toolbox version:
- OS version:
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working