ci: use go1.16rc1

This commit is contained in:
nadoo committed 2021-02-06 00:26:58 +08:00
1 parent 068281cafa
commit 40aadf3e24
14 files changed
+99 -71

No files matched your search

+2 -2
View File
@@ -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
}