kaspanet / rusty-kaspa

Kaspa full-node and related libraries in the Rust programming language. This is a stable version at the initial rollout phases.
ISC License
366 stars 115 forks source link

Update port handling in wRPC URL parser #391

Closed aspect closed 5 months ago

aspect commented 5 months ago

Do not inject port based on network type in wRPC URL when using SSL or the URL has a path.

Current behavior always injects port unless explicitly specified, which creates interference when using WebSocket proxies (that use URL paths) requiring us to always specify ports 443 or 80.