From 5980fee7887f0cca4d061762d5cc451df1dd754c Mon Sep 17 00:00:00 2001 From: boboan Date: Thu, 12 Jul 2018 10:31:54 +0800 Subject: [PATCH] net.LookupIP may cause deadlock in windows --- utils/functions.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/functions.go b/utils/functions.go index 305ccc1..f25ee2a 100755 --- a/utils/functions.go +++ b/utils/functions.go @@ -30,8 +30,7 @@ import ( "github.com/snail007/goproxy/utils/id" kcp "github.com/xtaci/kcp-go" - - "context" + ) func IoBind(dst io.ReadWriteCloser, src io.ReadWriteCloser, fn func(err interface{}), log *logger.Logger) {