Squid-2.7 release notes updated

2008-03-12 Thread Adrian Chadd
I've updated the Squid-2.7 release notes. I'd like to release Squid-2.7.STABLE1
this weekend. Its possible my Bugzilla searches haven't turned up all of the
relevant bugs to put in the release notes.

Let me know if you have any objections.

Thanks,



Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -


Re: [MERGE] Bug 2252: Build failure on Mac OSX 10.5

2008-03-12 Thread Amos Jeffries

Robert Collins wrote:

On Wed, 2008-03-12 at 14:15 +1300, Amos Jeffries wrote:


=== modified file 'src/ACLBrowser.cc'
--- src/ACLBrowser.cc   2004-12-20 23:30:12 +
+++ src/ACLBrowser.cc   2008-03-12 01:10:46 +
@@ -41,11 +41,7 @@
 
 /* explicit template instantiation required for some systems */
 
-template class ACLStrategisedchar const *

-
-;
 template class ACLRequestHeaderStrategyHDR_USER_AGENT
-
 ;


forte used to fail to build without the explicit instantiation. It might
be an idea to #ifdef that; or alternatively, you should remove the
comment as well as the explicit instantiation.

bb:tweak

-Rob


The type instantiation is not being fully removed, just migrated to 
ACLStrategised.cc to prevent duplication errors. The MyPortName ACL now 
shares the char const * template code previously unique to Browser ACL.


I left the comment on that part because the HDR_USER_AGENT instantiation 
is staying and the comment still applies to that code.


Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.


Re: tcp proxy hackery

2008-03-12 Thread Adrian Chadd
On Sat, Mar 08, 2008, Adrian Chadd wrote:
 Nothing terribly fancy;  very, very ugly and not very well laid out; but
 cut #1 of a simple TCP proxy that I'm using for toying around with network
 IO benchmarking:
 
 http://www.creative.net.au/diffs/test1-320.tar.gz
 
 Edit Makefile.defaults to point to where libevent is hiding, and then 'make'.
 The destination host/port is hardcoded in tcpproxy-1/test.c ; I point it at a
 lighttpd/thttpd server and run apachebench against the proxy.

http://www.creative.net.au/diffs/test1-335.tar.gz

* The tcp proxy has been very naively threaded (defaults to two threads atm)
* I've included apachebench from apache-1.3, converted to use libevent
  and correctly complete the connect() sequence rather than hoping write-ready
  signified a successful connect. Its still single-threaded but it scales
  -enormously- better than before.

I'm able to push this to about 5000 req/sec, 8000 concurrent client connections
(so 16,000 concurrent TCP connections on the proxy) @  ~ 335mbit full-duplex on 
my
test setup. I'm not maxing out anything yet as my thttpd opteron server is
running at full steam.

Again, its all LAN only traffic; there's a 16k read-ahead buffer being used
here which settles the process at about 190 megabytes RSS. Thats not too bad
for what its doing, but obviously its going to be a lot more in the real world
if one goal is improved high-latency throughput.

Is anyone interested in helping me out by duplicating my setup and running
some basic tests? All you need is three sensible and recent servers, a gige
switch and some spare time. I'm still trying to debug the odd race condition
that showing up and resulting in mismatched content lengths.




Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -


Re: Squid-3.0.STABLE2 is available

2008-03-12 Thread Guido Serassio

Hi Amos,

At 23:58 10/03/2008, Amos Jeffries wrote:

The Squid HTTP Proxy team is pleased to announce the
availability of the Squid-3.0.STABLE2 release!


The versions page still needs to be updated:
http://www.squid-cache.org/Versions/

Regards

Guido



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/



Re: Squid-3.0.STABLE2 is available

2008-03-12 Thread Amos Jeffries

Guido Serassio wrote:

Hi Amos,

At 23:58 10/03/2008, Amos Jeffries wrote:

The Squid HTTP Proxy team is pleased to announce the
availability of the Squid-3.0.STABLE2 release!


The versions page still needs to be updated:
http://www.squid-cache.org/Versions/

Regards

Guido



Oops. Done. Thanks.

Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.