mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-10-23 16:50:32 +00:00
34846eef9f1937d9fd953a91d3f1ef516277a8f9
check_ws turns a domain endpoint into ws(s)://<domain>/ws/id or /ws/relay with no port, so a reverse proxy that cannot take 443 (or 80) is unreachable, even when api-server already points at it, for example https://example.com:8443. websocket-port adds that port for the hosts this client is configured with: custom-rendezvous-server and relay-server. A relay that hbbs hands out on another host, or a peer's server, keeps the default port, since another machine has its own proxy. IP endpoints are unchanged, and an empty option gives the same URL as before. https://github.com/rustdesk/rustdesk-server-pro/discussions/1029 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Rust
100%