]> arthur.barton.de Git - ngircd-alex.git/commit
Make write buffers bigger, but flush early
authorAlexander Barton <alex@barton.de>
Sat, 12 Feb 2011 22:24:56 +0000 (23:24 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 12 Feb 2011 22:24:56 +0000 (23:24 +0100)
commitf732c7117e5a4b74b47c4594470506dcb2773760
tree05b9145d1e39902d8c37cb38fe08cc1b60b61543
parent477224be5c0d5e117d26d1181647bf9697c12c79
Make write buffers bigger, but flush early

This patch
 - makes the server write buffer bigger: 64k,
 - makes the regular write buffer bigger: 32k,
 - tries to flush the write buffer starting at 4K.

Before this patch, a client got disconnected if the buffer flushing at 4k
failed, now regular clients can store up to 32k and servers up 64k even
if flushing is not possible at the moment (e.g. on slow links).
src/ngircd/conn.c
src/ngircd/defines.h