summaryrefslogtreecommitdiff
path: root/common/socks5/rfc1929.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/socks5/rfc1929.go')
-rw-r--r--common/socks5/rfc1929.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/socks5/rfc1929.go b/common/socks5/rfc1929.go
index f8176f1..d7849df 100644
--- a/common/socks5/rfc1929.go
+++ b/common/socks5/rfc1929.go
@@ -39,8 +39,8 @@ func (req *Request) authRFC1929() (err error) {
sendErrResp := func() {
// Swallow write/flush errors, the auth failure is the relevant error.
resp := []byte{authRFC1929Ver, authRFC1929Fail}
- req.rw.Write(resp[:])
- req.flushBuffers()
+ _, _ = req.rw.Write(resp[:])
+ _ = req.flushBuffers()
}
// The client sends a Username/Password request.