mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-01 11:13:05 +00:00
The node probe honored the per-node TlsVerifyMode (skip/pin) but runtime.Remote used a shared client with no TLSClientConfig, so traffic sync and every other remote op fell back to system-CA verification and failed against self-signed nodes even after the operator set skip/pin. Move the TLS client builder into the runtime layer (HTTPClientForNode / DecodeCertPin) as the single source of truth, have Remote build and cache its per-node client through it, and delegate the service probe to the same builder so the two paths can no longer diverge. |
||
|---|---|---|
| .. | ||
| config | ||
| database | ||
| logger | ||
| mtproto | ||
| sub | ||
| util | ||
| web | ||
| xray | ||