Re: about squid

2003-03-10 Thread Henrik Nordstrom
On Monday 10 March 2003 13.27, atit_ldce wrote: I have confusion abt following in squid.. what is purpose of delay variable in icpUdpsend in icp_v2.c Keeps track of how long Squid has been trying to send this message out on the ICP socket. what is purpose of _StatCounters struct in squid..

Re: about peer selection

2003-03-10 Thread Henrik Nordstrom
see peerSelectFoo() and our earlier discussions. Regards Henrik On Monday 10 March 2003 13.54, atit_ldce wrote: what are the all possible options for selecting peer where to forward request. saying one is sending ICP query is there any others? if origin server is taken into account

about client connection

2003-03-10 Thread atit_ldce
how squid will handle client Connection squid is listening on port 3128 for client request. does it create another connection for client request or use 3128 for all clients if it use 3128 for all clients, how it will handle concurrent user requests can u explain how connection wil be established

Re: about client connection

2003-03-10 Thread Robert Collins
On Tue, 2003-03-11 at 02:39, atit_ldce wrote: now i want to know the flow of request. atit, you are asking a lot of questions that about 10 minutes spent with gdb will answer for you. Rob -- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. signature.asc Description: This

Re: Re : Re: about peer selection

2003-03-10 Thread Henrik Nordstrom
The netdb registry keep track of round trip times and distances to origin servers measured by ICMP pinging. Both the distance from this Squid server to the origin servers and the distance from the peers to the origin servers are recorded. More information can be found in Squid FAQ 7.6 Using ICMP

Re: Object naming conflict on nt branch

2003-03-10 Thread Robert Collins
On Mon, 2003-03-10 at 15:07, Adrian Chadd wrote: On Sun, Mar 09, 2003, Robert Collins wrote: This happens on all Windows build environments: Cygwin, MinGW and MS Visual Studio. Dang. It's just *so hard* with MS polluting the namescape all the time. If we don't use the windows

about cache disk size

2003-03-10 Thread atit_ldce
how can i set cache disk size... on thing abt squid performance after cache disk be 75 - 80 % full, squid goes to degrade performance time required to process request and sending response will be too much high? what is the reason for this? regards atit

Re: about cache disk size

2003-03-10 Thread Henrik Nordstrom
mån 2003-03-10 klockan 19.09 skrev atit_ldce: how can i set cache disk size... See squid.conf or any of the available documentation on how to configure Squid. on thing abt squid performance after cache disk be 75 - 80 % full, squid goes to degrade performance Some, as Squid then starts

[PATCH]: Linux Transparent Proxy

2003-03-10 Thread Gianni Tedesco
Hi, Here is the second cut of the linux tproxy patch aiming for inclusion with squid-2.5 branch. The diff is versus squid-2.5.STABLE1. Comments are most welcome :) The patch adds a new onoff config 'linux_tproxy' (if you configure with --enable-linux-tproxy) which when set will spoof the source

Re: [PATCH]: Linux Transparent Proxy

2003-03-10 Thread Henrik Nordstrom
mån 2003-03-10 klockan 16.44 skrev Gianni Tedesco: Hi, Here is the second cut of the linux tproxy patch aiming for inclusion with squid-2.5 branch. The diff is versus squid-2.5.STABLE1. Comments are most welcome :) Thanks. Note: As discussed before Squid-2.5 is in it's STABLE release cycle

bug in ntlmauth.h?

2003-03-10 Thread michele . de-martin
Hi, it looks like src/include/ntlmauth.h contains a typo: ... /* Negotiation request sent by client */ typedef struct _ntlm_negotiate { char signature[8];/* NTLMSSP */ int32_t type; /* LSWAP(0x1) */ ntlmhdr hdr;/* NTLM header */ u_int32_t flags; /*

Re: Windows port merge - MS Visual C++ compatibility [PATCH]

2003-03-10 Thread Guido Serassio
Hi Robert, Il 13.12 09/03/2003 Robert Collins ha scritto: On Sat, 2003-03-08 at 22:08, Guido Serassio wrote: Hi, This is the 6th of some splitted native Windows patches grouped by functionality. Native Windows port enhancements: - C++ fixes for MS Visual C++ compatibility, See this old

Re: Object naming conflict on nt branch

2003-03-10 Thread Robert Collins
On Tue, 2003-03-11 at 07:51, Guido Serassio wrote: What is wrong ? I broke head merging ESI. I've fixed it now, and the next merge to the devel tree will bring across the fixes. Cheers, Rob -- GPG key available at: http://users.bigpond.net.au/robertc/keys.txt. signature.asc Description:

Problem with origin server connections

2003-03-10 Thread David Nicklay
Hi, Brian and I have been trying to puzzle out a problem we are having related to back end origin server connections initiated by squid. We have squid (2.5.stable1) set up in a reverse proxy configuration pointing at a group of origin servers which mount a number of NFS mounts to serve content

Re: Object naming conflict on nt branch

2003-03-10 Thread Guido Serassio
Hi Robert, Il 22.02 10/03/2003 Robert Collins ha scritto: On Tue, 2003-03-11 at 07:51, Guido Serassio wrote: What is wrong ? I broke head merging ESI. I've fixed it now, and the next merge to the devel tree will bring across the fixes. Are You sure that ESI merge is the source of my problem ?

Re: Windows port merge - MS Visual C++ compatibility [PATCH]

2003-03-10 Thread Henrik Nordstrom
On Monday 10 March 2003 21.30, Guido Serassio wrote: { -cbdataFree ((clientReplyContext *)address); +clientReplyContext * tmp = (clientReplyContext *)address; +cbdataFree (tmp); } This looks extraneous. What is the error that VS gives you? I'm stripping this one out of

Re: Object naming conflict on nt branch

2003-03-10 Thread Henrik Nordstrom
On Monday 10 March 2003 21.51, Guido Serassio wrote: ACLMaxUserIP.cc:51:77: macro max requires 2 arguments, but only 1 given ACLMaxUserIP.cc: In constructor `ACLMaxUserIP::ACLMaxUserIP(const char*)': ACLMaxUserIP.cc:52: parse error before `{' token Another namespace conflict, this time in

Re: Problem with origin server connections

2003-03-10 Thread Henrik Nordstrom
How are you making Squid distribute the requests on the backend servers? Regards Henrik On Monday 10 March 2003 22.13, David Nicklay wrote: Hi, Brian and I have been trying to puzzle out a problem we are having related to back end origin server connections initiated by squid. We have

Re: Object naming conflict on nt branch

2003-03-10 Thread Guido Serassio
Hi Robert, Il 22.07 10/03/2003 Guido Serassio ha scritto: Hi Robert, Il 22.02 10/03/2003 Robert Collins ha scritto: On Tue, 2003-03-11 at 07:51, Guido Serassio wrote: What is wrong ? I broke head merging ESI. I've fixed it now, and the next merge to the devel tree will bring across the

Re: Object naming conflict on nt branch

2003-03-10 Thread Guido Serassio
Hi Henrik, Il 22.44 10/03/2003 Henrik Nordstrom ha scritto: On Monday 10 March 2003 21.51, Guido Serassio wrote: ACLMaxUserIP.cc:51:77: macro max requires 2 arguments, but only 1 given ACLMaxUserIP.cc: In constructor `ACLMaxUserIP::ACLMaxUserIP(const char*)': ACLMaxUserIP.cc:52: parse error

The use of cbdataFree() in HEAD

2003-03-10 Thread Henrik Nordstrom
The following uses of cbdataFree in HEAD is dubious: src/client_side_reply.cc:253:cbdataFree ((clientReplyContext *)address); src/store_client.cc:79:cbdataFree ((store_client *)address); src/ESI.cc:2425:cbdataFree ((esiRemove *)address); src/ESI.cc:2775:cbdataFree ((esiAttempt

Re: Problem with origin server connections

2003-03-10 Thread David Nicklay
Brian put together a hack to the dns guts which sends them to a different origin server each time and does some health checking on them to see if any more requests should be sent to each origin server. It would be nice to use the new rproxy setup to do this, but it is not in the stable releases

Re: Problem with origin server connections

2003-03-10 Thread Henrik Nordstrom
Ok. You did not tell how things changed when the condition occurs. If your problem is that Squid does not make as many connections to the backend servers as it should then I would guess the problem is around there. If your problem is that there is many connections to the backend server(s)

about client connection

2003-03-10 Thread atit_ldce
how squid will handle client Connection squid is listening on port 3128 for client request. does it create another connection for client request or use 3128 for all clie nts if it use 3128 for all clients, how it will handle concurrent user requests can u explain how connection wil be