]> arthur.barton.de Git - ngircd-alex.git/commit
Increase read buffer size for server connections
authormichi <michi+ngircd@dataswamp.org>
Wed, 15 Apr 2020 08:32:08 +0000 (10:32 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 19 Apr 2020 22:20:46 +0000 (00:20 +0200)
commitc6e3c13f27744971fcb1d2de4e561d3bcdaa5aed
treec5712c3a68429afa2ec2e6ecc32c754c86876870
parent04de1423eb26da60c192d343a7e7a6bcda2aca37
Increase read buffer size for server connections

This applies the same logic we have for write buffers to distinguish
between server and client connections and sets the maximum buffer size
accordingly. As a result peering with servers with many GLINE/KLINEs
does not kill the connecting server connection anymore.
src/ngircd/conn.c
src/ngircd/defines.h