Feature: add delay history and improve url-test behavior

This commit is contained in:
Dreamacro
2019-03-17 14:52:39 +08:00
parent 63446da5fa
commit 7a9d986ff3
5 changed files with 151 additions and 7 deletions

View File

@ -110,7 +110,7 @@ func getProxyDelay(w http.ResponseWriter, r *http.Request) {
proxy := r.Context().Value(CtxKeyProxy).(C.Proxy)
sigCh := make(chan int16)
sigCh := make(chan uint16)
go func() {
t, err := proxy.URLTest(url)
if err != nil {