feat: support tcp_check_http_method (#77)

This commit is contained in:
mzz
2023-05-13 15:38:28 +08:00
committed by GitHub
parent e5983f0833
commit bf1d296401
9 changed files with 62 additions and 29 deletions

View File

@ -227,7 +227,7 @@ func NewControlPlane(
}
option := &dialer.GlobalOption{
Log: log,
TcpCheckOptionRaw: dialer.TcpCheckOptionRaw{Raw: global.TcpCheckUrl, Log: log},
TcpCheckOptionRaw: dialer.TcpCheckOptionRaw{Raw: global.TcpCheckUrl, Log: log, Method: global.TcpCheckHttpMethod},
CheckDnsOptionRaw: dialer.CheckDnsOptionRaw{Raw: global.UdpCheckDns},
CheckInterval: global.CheckInterval,
CheckTolerance: global.CheckTolerance,