Re: udp logging in 2.HEAD

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 24 Sep 2007 00:23:54 +0800

On Sun, Sep 23, 2007, Adrian Chadd wrote:
> G'day,
>
> I've committed a version of the patch Tim Starling (Wikipedia) wrote
> to squid-2.HEAD. It -almost- works; I'm seeing lines like this:
>
>
> 1190560927.196 4526 192.168.1.7 TCP_MISS/504 317 GET http://192.168.1.7:8080/w10953a8c.27fa10d3:00000006/t01/_1190560927.196 2848 192.168.1.7 TCP_MISS/504 317 GET http://192.168.1.7:8080/w10953a8c.27fa10d3:00000006/t01/_0000010c - DIRECT/192.168.1.7 text/html

And thats just netcat being stupid under FreeBSD and having a default
frame size of 1k. Stupid, stupid me.

UDP logging works fine; what would be nice:

* tune the udp buffer size rather than having it fixed - you could
  in theory fire off 32k UDP packets if your receive side would
  handle them fine. Thats ~200 logging entries each UDP packet.

* Some debugging to indicate when things aren't going to plan.

* Some application notes or documentation. :0

Adrian
Received on Sun Sep 23 2007 - 10:18:52 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:05 MDT