build break

pull/27/head
V2Ray 9 years ago
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…
Cancel
Save