[squid-users] Fw: Squid Persistent CONN

From: Graziano Sommariva <graziano.sommariva@dont-contact.us>
Date: Sun, 23 Sep 2001 22:49:57 +0200

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=

Do you have the same problem?

Any suggestions?

Best regards,

----- Original Message -----
From: Graziano Sommariva
To: Graziano Sommariva
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: <395CB400.133C0594@argo.es>
Date: Fri, 30 Jun 2000 16:51:44 +0200
From: Jesus Cea Avion <jcea@argo.es>
To: Lista SQUID <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
--------------------------------------------------------------------------------
  a.. Artículos sobre Software y Parches de Software 
  b.. Artículos 
  c.. La Página de Jesús Cea Avión 
--------------------------------------------------------------------------------
©2.000 jcea@argo.es 
Received on Sun Sep 23 2001 - 14:55:53 MDT

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