Skip to content

Domain name parsing fails for TLS connections. #610

@DobromirM

Description

@DobromirM

https://github.com/swimos/swim-rust/blob/b197fd2d05690abf9444d5a80ce5f2908e8e0660/runtime/swimos_tls/src/net/client.rs#L99

ServerName::try_from(host_name) is failing when it tries to parse the host because the host string contains the protocol and the port, (wss://trafficware.swim.services:443) whereas the method expects only the domain name.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions