[syslog-ng]patch: add socket(SO_RCVBUF) option

Balazs Scheidler syslog-ng@lists.balabit.hu
Thu, 14 Oct 2004 18:27:32 +0200


thanks for your contribution. I've added it to my bugzilla.

On Tue, 2004-10-12 at 14:08, Dmitry Karasik wrote:
> Hello,
> 
> I'm playing with syslog-ng under high IO loads, and while doing so I found that
> increasing UDP receive buffer helps ( not surprisingly though ) a lot.  Here, I
> have a feature request, to add such an option to the config file.  Below I
> included a patch that adds such an option to the set of udp() command
> sub-options. While I realize that this function is very much useful also
> outside of udp, I though that to complement the setsockopt setup() properly I
> have also to add support for SO_SNDBUF, and support not only for source() but also
> for destination() drivers, etc etc, and this would clearly make an overkill patch.
> Probably you can think of something more elegant.
-- 
Bazsi