mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
build break
This commit is contained in:
parent
a78dbe7133
commit
51c2a2b880
@ -3,8 +3,6 @@ package io
|
|||||||
import (
|
import (
|
||||||
"crypto/cipher"
|
"crypto/cipher"
|
||||||
"io"
|
"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.
|
// 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{}
|
response := protocol.VMessResponse{}
|
||||||
nBytes, err := decryptResponseReader.Read(response[:])
|
_, err = decryptResponseReader.Read(response[:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
//log.Error("VMessOut: Failed to read VMess response (%d bytes): %v", nBytes, err)
|
//log.Error("VMessOut: Failed to read VMess response (%d bytes): %v", nBytes, err)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user