Re: [squid-users] FW: Squid Persistent CONN UPDATE 1

From: Robert Collins <robert.collins@dont-contact.us>
Date: Mon, 24 Sep 2001 21:14:49 +1000

Try squid 2.5, I think this is fixed there.

Rob

----- Original Message -----
From: "Sommariva Graziano" <Graziano.Sommariva@elsag.it>
To: <squid-users@squid-cache.org>
Sent: Monday, September 24, 2001 9:00 PM
Subject: [squid-users] FW: Squid Persistent CONN UPDATE 1

Hi,

This problem is not present using squid(same version) compiled on
solaris.
The not working one is compiled using CYGWIN tools.

This problem is not present usin Netscape as navigator.

Best regards,

-----Original Message-----
From: Graziano Sommariva [mailto:graziano.sommariva@elsag.it]
Sent: Sunday, September 23, 2001 10:50 PM
To: squid-users@squid-cache.org
Subject: Fw: Squid Persistent CONN

Hello,

I have the same problem(Persistent Connections not working) on Squid
2.4STABLE2.

I tried you patch without success, but the code is quite not the same.

For EX this is a URL not working:
<http://rendezvous.inwind.it/login_page.php?login=normal&NICK>
http://rendezvous.inwind.it/login_page.php?login=normal&NICK=

Do you have the same problem?

Any suggestions?

Best regards,

----- Original Message -----
From: Graziano Sommariva <mailto:graziano.sommariva@elsag.it>
To: Graziano Sommariva <mailto:graziano.sommariva@elsag.it>
Sent: Sunday, September 23, 2001 9:48 PM
Subject: Squid Persistent CONN

Persistent Connections

Última Actualización: 30 de Junio de 2.000 - Viernes

Message-ID: < Date">395CB400.133C0594@argo.es
<mailto:395CB400.133C0594@argo.es> >

Date: Fri, 30 Jun 2000 16:51:44 +0200

From: Jesus Cea Avion < To">jcea@argo.es <mailto:jcea@argo.es> >

To: Lista SQUID < Subject">squid-users@ircache.net
<mailto:squid-users@ircache.net> >

Subject: Persistent Connections

Today I was trying to replicate a problem in Squid (Squid/2.3.STABLE2)
when
I observed that Squid doesn't use persistent connections (checked
manually
vía telnet and "connection: keep-alive" and "proxy-connection:
keep-alive"
headers).

It was very strange, because previous versions supported persistent
connects.

Digging into the code I saw that the implementation is gated thru the
variables "Config.onoff.client_pconns" and "Config.onoff.server_pconns".
Nevertheless those variables ARE NEVER SET in the code.

Any reason for that?.

I do the following change to restore persistent connections support. It
seems to run fine in the last two hours.

Any idea?.

>>>>>

Index: cache_cf.c

===================================================================

RCS file: /opt/src/cvsroot/squid/src/cache_cf.c,v

retrieving revision 1.1.1.3

diff -c -r1.1.1.3 cache_cf.c

*** cache_cf.c 2000/03/06 13:30:14 1.1.1.3

--- cache_cf.c 2000/06/30 14:00:28

***************

*** 359,364 ****

--- 359,370 ----

      }

      if (aclPurgeMethodInUse(Config.accessList.http))

        Config2.onoff.enable_purge = 1;

+

+ /*

+ ** MIO

+ */

+ Config.onoff.client_pconns=1;

+ Config.onoff.server_pconns=1;

  }

  /* Parse a time specification from the config file. Store the

<<<<<

--
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea@argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
                                      _/_/    _/_/          _/_/_/_/_/
PGP Key Available at KeyServ   _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
  _____
* <http://www.argo.es/~jcea/artic/soft.htm> Artículos sobre Software
y Parches de Software
* <http://www.argo.es/~jcea/artic/index.htm> Artículos
* <http://www.argo.es/~jcea/index.htm> La Página de Jesús Cea Avión
  _____
©2.000 jcea@argo.es <mailto:jcea@argo.es>
Received on Mon Sep 24 2001 - 05:16:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:28 MST