Change cipherRWBufferSize to match the one on the client, so we don't run cipher that often (Adds overhead).
This commit is contained in:
1 file changed
+1
-1
@@ -349,7 +349,7 @@ func (s socket) Get(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Start service
|
// Start service
|
||||||
const cipherReadBufSize = 1024
|
const cipherReadBufSize = 4096
|
||||||
|
|
||||||
cipherReadBuf := [cipherReadBufSize]byte{}
|
cipherReadBuf := [cipherReadBufSize]byte{}
|
||||||
cipherWriteBuf := [cipherReadBufSize]byte{}
|
cipherWriteBuf := [cipherReadBufSize]byte{}
|
||||||
|
|||||||
Reference in new issue
Block a user