MXS-2312: Use default network buffer sizes

Removed the hard-coded network buffer sizes. This effectively makes them
configurable via the kernel.
This commit is contained in:
Markus Mäkelä
2019-03-20 10:22:57 +02:00
parent db97c3343d
commit e745d1cffb
3 changed files with 2 additions and 20 deletions

View File

@ -742,6 +742,7 @@ static int dcb_read_SSL(DCB* dcb, GWBUF** head)
*/
static GWBUF* dcb_basic_read_SSL(DCB* dcb, int* nsingleread)
{
const size_t MXS_SO_RCVBUF_SIZE = (128 * 1024);
unsigned char temp_buffer[MXS_SO_RCVBUF_SIZE];
GWBUF* buffer = NULL;