[PATCH] fixed entry size for max-size

2009-09-02 Thread Alex Rousskov
Fixed entry size calculation for the max-size cache_dir selection algorithms. There were two sides of this bug: In src/store_swapout.cc, we must create metadata earlier because storeCreate() needs swap_hdr_sz. With swap_hdr_sz unknown at the time of storeCreate(), the SwapDir selection

broken link

2009-09-02 Thread rose
Hello, I just wanted to let you know that on your homepage: http://devel.squid-cache.org you have a link to: http://www.shmoo.com/securecode/ (How to Write Secure Code) which does not seem to exist anymore. I am learning all about coding in my programming class and I found this page to be

Re: Fun with Squid2 and Clang

2009-09-02 Thread Mark Nottingham
...@default_prefix@%/opt/squid3-test%g;\ s...@default_hosts@%/etc/hosts%g;\ s...@[v]ersion@%3.HEAD-20090902%g;\ ./cf.data.pre cf.data depbase=`echo cf_gen.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\/opt/squid3-test/etc/ squid.conf

Re: Fun with Squid2 and Clang

2009-09-02 Thread Henrik Nordstrom
@%/etc/hosts%g;\ s...@[v]ersion@%3.HEAD-20090902%g;\ ./cf.data.pre cf.data depbase=`echo cf_gen.o | sed 's|[^/]*$|.deps/|;s|\.o$||'`;\ g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\/opt/squid3-test/etc/ squid.conf\ -DDEFAULT_SQUID_DATA_DIR=\/opt/squid3-test/share

Build failed in Hudson: 3.HEAD-i386-Debian-sid #43

2009-09-02 Thread noc
See http://build.squid-cache.org/job/3.HEAD-i386-Debian-sid/43/ -- Started by upstream project 3.HEAD-amd64-CentOS-5.2 build number 66 Building remotely on rio.treenet bzr: ERROR: Invalid http response for

Hudson build is back to normal: 3.HEAD-i386-Debian-sid #44

2009-09-02 Thread noc
See http://build.squid-cache.org/job/3.HEAD-i386-Debian-sid/44/changes

R: R: R: R: Squid 3 build errors on Visual Studio - problem still present

2009-09-02 Thread Guido Serassio
Hi, OK, but what next ? Regards Guido Serassio Acme Consulting S.r.l. Microsoft Gold Certified Partner Via Lucia Savarino, 110098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: guido.seras...@acmeconsulting.it WWW:

Re: If refresh_pattern only extends expiration, how to force time-to-live in Squid code?

2009-09-02 Thread Guy Bashkansky
(Resending, first time accidentally sent with HTML formatting, bounced) Now I see the Expires header having a value in the past, which may confuse clients and caches further down the chain. Scenario: origin returns max-age=900 (15 min) and refresh_pattern overrides expire to 24 hours, what do the

Re: R: R: R: R: Squid 3 build errors on Visual Studio - problem still present

2009-09-02 Thread Henrik Nordstrom
ons 2009-09-02 klockan 21:11 +0200 skrev Guido Serassio: Hi, OK, but what next ? Can you produce a preprocessed source? That's the output of just the preprocessor, not actual compilarion, comparable to gcc -E option. Easier to identify what the compiler actually saw that way... Regards

Re: If refresh_pattern only extends expiration, how to force time-to-live in Squid code?

2009-09-02 Thread Henrik Nordstrom
ons 2009-09-02 klockan 12:42 -0700 skrev Guy Bashkansky: Now I see the Expires header having a value in the past, which may confuse clients and caches further down the chain. Scenario: origin returns max-age=900 (15 min) and refresh_pattern overrides expire to 24 hours, what do the headers to

Re: If refresh_pattern only extends expiration, how to force time-to-live in Squid code?

2009-09-02 Thread Henrik Nordstrom
ons 2009-09-02 klockan 13:42 -0700 skrev Guy Bashkansky: I'm using a customized version of Squid 2.4 STABLE6. But nothing seems to be customized in refresh.c, except for my own recent swap of age and expires checks (as recommended). Ouch.. that's a very very old relese. Upgrading highly

New dev account please

2009-09-02 Thread iamfromit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey! I'd like to join the squid project and contribute some time/energy to working on outstanding issues, mainly with ICAP support. I'm no expert programmer, but I'm motivated and this is interesting to me, so I'll be working with other devs on the

Re: [PATCH] fixed entry size for max-size

2009-09-02 Thread Henrik Nordstrom
bb: approve +1. Sane, and correct, and also matches what Squid-2 is doing. Hmm.. wonder how that got lost in Squid-3. The change in squid-2 is very old (3 may 2000). Investigating. Right, got lost in refactoring (revision 5998). The comment from when this was fixed in Squid-2 is even left just