mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
build break
This commit is contained in:
parent
a78dbe7133
commit
51c2a2b880
@ -3,8 +3,6 @@ package io
|
||||
import (
|
||||
"crypto/cipher"
|
||||
"io"
|
||||
|
||||
"github.com/v2ray/v2ray-core/common/log"
|
||||
)
|
||||
|
||||
// CryptionReader is a general purpose reader that applies a stream cipher on top of a regular reader.
|
||||
|
@ -168,7 +168,7 @@ func handleResponse(conn *net.TCPConn, request *protocol.VMessRequest, output ch
|
||||
}
|
||||
|
||||
response := protocol.VMessResponse{}
|
||||
nBytes, err := decryptResponseReader.Read(response[:])
|
||||
_, err = decryptResponseReader.Read(response[:])
|
||||
if err != nil {
|
||||
//log.Error("VMessOut: Failed to read VMess response (%d bytes): %v", nBytes, err)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user