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;
=============
otherwise pingerSendtoSquid sends to squid about 8K every time
PS: if it is interesting for someone:
It seems that I have embedded to squid.exe for OS/2 and Visual Age C++
compiler (not gcc) 3nd thread with pinger.
SY,
Evgeny Kotsuba
___________________
Лучшие туры на ближайшие даты. Сеть магазинов горящих путевок.
www.tournews.ru
Received on Fri Apr 25 2003 - 02:11:28 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:42 MST