Re: Squid Network Logging Patch

From: Mark Dierolf <mark@dont-contact.us>
Date: Mon, 13 Jun 2005 01:29:12 -0700

Moderator - can I be added to the squid-dev list?

I will try to make it work on squid 3, and I will integrate your changes. I
didn't know you could connect() a udp socket, that will make the code much
cleaner.

Thanks,
Mark Dierolf

On Friday 10 June 2005 8:23 am, Henrik Nordstrom wrote:
> On Thu, 9 Jun 2005, Mark Dierolf wrote:
> > I have developed a patch to 2.5 which allows you to broadcast the
> > logfiles to another machine - check http://3e0.com/ for more info.
>
> Looks reasonable.
>
> Would you mind forward-porting this to Squid-3 allowing us to include it
> in the Squid distribution? There is already syslog support, and adding
> direct udp support is only a natural thing to do.
>
> > The patch is located at
> > http://3e0.com/squid-2.5.STABLE9-networklogging.patch
>
> One suggestion to simplify the patch: If you connect() the socket when
> opening it then nothing special needs to be done to send the messages.
> I.e. no need to use sendto().
>
> Regards
> Henrik
Received on Mon Jun 13 2005 - 15:55:17 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 30 2005 - 12:00:05 MDT