mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-09-19 20:15:59 +08:00
[fix] incorrect data save location for latency
This commit is contained in:
@ -48,6 +48,10 @@ func (p *Proxy) AliveForTestUrl(url string) bool {
|
||||
return p.alive.Load()
|
||||
}
|
||||
|
||||
func (p *Proxy) OriginalHealthCheckUrl(url string) {
|
||||
p.url = url
|
||||
}
|
||||
|
||||
// Dial implements C.Proxy
|
||||
func (p *Proxy) Dial(metadata *C.Metadata) (C.Conn, error) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), C.DefaultTCPTimeout)
|
||||
|
Reference in New Issue
Block a user