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
@@ -4,7 +4,6 @@ import (
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
|
||||
"github.com/nadoo/glider/log"
|
||||
@@ -99,7 +98,7 @@ func (c *ClientConn) Read(b []byte) (n int, err error) {
|
||||
}
|
||||
|
||||
if addLen := int64(buf[1]); addLen > 0 {
|
||||
proxy.CopyN(ioutil.Discard, c.Conn, addLen)
|
||||
proxy.CopyN(io.Discard, c.Conn, addLen)
|
||||
}
|
||||
c.rcved = true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user