Close connection more aggressively.

This commit is contained in:
V2Ray committed 2015-09-24 14:51:19 +02:00
1 parent 64103229d6
commit a78dbe7133
5 files changed
+45 -13

No files matched your search

-3
View File
@@ -27,9 +27,6 @@ func (reader CryptionReader) Read(blocks []byte) (int, error) {
if nBytes > 0 {
reader.stream.XORKeyStream(blocks[:nBytes], blocks[:nBytes])
}
if err != nil && err != io.EOF {
log.Error("Error reading blocks: %v", err)
}
return nBytes, err
}