mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ci: use go1.16rc1
This commit is contained in:
1 parent
068281cafa
commit
40aadf3e24
14 files changed
+99
-71
No files matched your search
+2
-2
@@ -1,7 +1,7 @@
|
||||
package ss
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"net"
|
||||
"strings"
|
||||
"sync"
|
||||
@@ -57,7 +57,7 @@ func (s *SS) Serve(c net.Conn) {
|
||||
tgt, err := socks.ReadAddr(sc)
|
||||
if err != nil {
|
||||
log.F("[ss] failed to get target address: %v", err)
|
||||
proxy.Copy(ioutil.Discard, c) // https://github.com/nadoo/glider/issues/180
|
||||
proxy.Copy(io.Discard, c) // https://github.com/nadoo/glider/issues/180
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user