CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2015/09/09 02:12:46
Modified files: usr.sbin/syslogd: syslogd.c Log message: To double the receive buffer of a socketpair does not help as sending checks the send buffer size. So double both buffer sizes. Moreover the default for sending is 2048 and for receiving is 4096. This makes the existing double buffer algorithm inconsistent. It is better to make the buffers large enough to hold 8 full length messages. Just make sure that it does not shrink. Keep the approach that doubles the buffer sizes. When we are low on buffers and cannot reach the full size, increase it as much as possible. While there, add consistent error messages. OK benno@