|   |   |   Últimos Cambios | 
|  Blog personal: El hilo del laberinto |  | |
Ú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
Más información sobre los OpenBadges
Donación BitCoin: 19niBN42ac2pqDQFx6GJZxry2JQSFvwAfS
