fre 2003-04-25 klockan 10.11 skrev Evgeny Kotsuba:
> Hi,
>
> It seems that in
> pingerSendtoSquid() from pinger.c
> =============
> pingerSendtoSquid(pingerReplyData * preply)
> { int len = sizeof(pingerReplyData) - MAX_PKT_SZ + preply->psize;
> if (send(1, (char *) preply, len, 0) < 0) {
> =============
> should be
> =============
> { int len = sizeof(pingerReplyData) - PINGER_PAYLOAD_SZ +
> preply->psize;
> =============
pinger.cc seems to be a bit confused about when to use MAX_PKT_SZ and
when to use MAX_PAYLOAD in relation to preply.psize... this is only one
of several places which looks wrong to me.
-- Free Squid-users support provided by Henrik Nordström <hno@squid-cache.org> Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.comReceived on Fri Apr 25 2003 - 04:19:59 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:42 MST