Change cipherRWBufferSize to match the one on the client, so we don't run cipher that often (Adds overhead).
This commit is contained in:
@@ -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