diff --git a/src/netutils.h b/src/netutils.h index a64dcf218..a4b19884a 100644 --- a/src/netutils.h +++ b/src/netutils.h @@ -55,7 +55,7 @@ #define MAX_HOSTNAME_LEN 256 // FQCN <= 255 characters #define MAX_PORT_STR_LEN 6 // PORT < 65536 -#define SOCKET_BUF_SIZE (16 * 1024) // 16KB +#define SOCKET_BUF_SIZE (16 * 1024 - 1) // 16383 Byte, equals to the max chunk size typedef struct { char *host;