commit aa020ad7cd0c4c9e019ff4652499f87ce7e6b59f from: jrmu date: Sat Dec 18 08:49:18 2021 UTC Increase buffer size to prevent buffer exhaustion commit - 71ae2b7d7f9ae7bc02ed072c07100de0027373d6 commit + aa020ad7cd0c4c9e019ff4652499f87ce7e6b59f blob - ff8cd226d641b0dced4b398438b74c14f2df983a blob + 96d97b1c03fd18d97bf1693d63a9d3a22b6b9326 --- src/ngircd/defines.h +++ src/ngircd/defines.h @@ -157,10 +157,10 @@ #define WRITEBUFFER_FLUSH_LEN 4096 /** Maximum size of the write buffer of a connection in bytes. */ -#define WRITEBUFFER_MAX_LEN 32768 +#define WRITEBUFFER_MAX_LEN 1048576 /** Maximum size of the write buffer of a server link connection in bytes. */ -#define WRITEBUFFER_SLINK_LEN 65536 +#define WRITEBUFFER_SLINK_LEN 1048576 /* IRC/IRC+ protocol */