feat: add browserDialer under sockopt and wire transports

Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/56665ec5-84ea-4bc3-a812-2e699e0e880d

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-26 07:22:38 +00:00
committed by GitHub
parent b4f08981be
commit c2116bb869
7 changed files with 169 additions and 63 deletions
+2
View File
@@ -1074,6 +1074,7 @@ type SocketConfig struct {
AddressPortStrategy string `json:"addressPortStrategy"`
HappyEyeballsSettings *HappyEyeballsConfig `json:"happyEyeballs"`
TrustedXForwardedFor []string `json:"trustedXForwardedFor"`
BrowserDialer string `json:"browserDialer"`
}
// Build implements Buildable.
@@ -1194,6 +1195,7 @@ func (c *SocketConfig) Build() (*internet.SocketConfig, error) {
AddressPortStrategy: addressPortStrategy,
HappyEyeballs: happyEyeballs,
TrustedXForwardedFor: c.TrustedXForwardedFor,
BrowserDialer: c.BrowserDialer,
}, nil
}