- 18 Dec, 2008 1 commit
-
-
Ingvar Hagelund authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3463 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 12 Dec, 2008 2 commits
-
-
Petter Knudsen authored
Fixed so that server_host is the hostname and not IP, as javscript will fail if the URL doesn't match. git-svn-id: http://www.varnish-cache.org/svn/trunk@3462 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Petter Knudsen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3461 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 09 Dec, 2008 1 commit
-
-
Poul-Henning Kamp authored
basically "return(action)" instead of just "action". The previos syntax is still available. git-svn-id: http://www.varnish-cache.org/svn/trunk@3460 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 08 Dec, 2008 3 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3459 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3458 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
critbit hasher. git-svn-id: http://www.varnish-cache.org/svn/trunk@3457 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 03 Dec, 2008 4 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3456 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3455 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Enable SHA256 digests by default, and put it in the objhead. This increases the size of the objhead by 32 bytes, but may drop a bit again later, when other now unnecessary fields go away. Test SHA256 for correct operation on startup. About the "critbit" lookup: To enable this, use "-hcritbit" argument. "Crit Bit" trees, are also known under various other names, the original version of the idea is probably the PATRICIA tree. The basic concept is a tree structure which has nodes only where necessary to tell the indices apart. Our version of it, has some additional bells and whistles. First lookups do not require any locks until we reach the objhead we were looking for, or until we need to insert one which wasn't there. Second, the branch nodes are part of the objhead, as all but the very first will need one, this saves malloc operations big time. Now the down-sides: There are still missing bits, amongst these the "cooling off" list, for objheads that have been dereferenced, but where the branch-node is not. Currently we just leak that memory. There is a race relating to node deref and unlocked lookup that is not closed, weird things may happen until I fix it. I'd be interested to hear how long it survives before it croaks, but apart from that, would not advocate that you use it, until I fix those remaining issues. git-svn-id: http://www.varnish-cache.org/svn/trunk@3454 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3453 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 02 Dec, 2008 1 commit
-
-
Poul-Henning Kamp authored
add a couple of test-vectors to avoid it happening again. And now for the funny and educational story: In july of 1994, I added the "libmd" to FreeBSD, containing the MD2, MD4 and MD5 functions from RFC 1319, RFC 1186 and RFC1321. I meticulously replicated the test-vectors from the RFCs, so that "make test" would validate the result. Duing the intermediate 14 years, various slight shifts and adjustments to things like the make(1) programs defaults, the shared library resolution algorithm and other totally unrelated things, meant that "make test" now tests the installed version of the library, rather than the version you just built with "make all". Needless to say, when I tested my patch yesterday, I didn't install the built version, wanting first to hear what Colin Percival, FreeBSD Security Wiz, generally swell fella and the guy who wrote this SHA256 implementation, thought of these "stylistic" patches. git-svn-id: http://www.varnish-cache.org/svn/trunk@3452 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 01 Dec, 2008 5 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3451 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3450 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3449 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
assert that we have one. git-svn-id: http://www.varnish-cache.org/svn/trunk@3448 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3447 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 26 Nov, 2008 2 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3446 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3445 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 25 Nov, 2008 12 commits
-
-
Poul-Henning Kamp authored
is set. git-svn-id: http://www.varnish-cache.org/svn/trunk@3444 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
the thread-pool related params into a new file mgt_pool.c as proof. The paramters happen in management process context, and should therefore not end up in cache_* files for namespace and sanity reasons. git-svn-id: http://www.varnish-cache.org/svn/trunk@3443 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
generic for comfort. git-svn-id: http://www.varnish-cache.org/svn/trunk@3442 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3441 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
now. git-svn-id: http://www.varnish-cache.org/svn/trunk@3440 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
of possibly relevant headers and only go with the fast path if we have credible information that this is a big-endian platform. git-svn-id: http://www.varnish-cache.org/svn/trunk@3439 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
In the end, it comes down to lack of POSIX definition of a way to find out byte-endianess, sigh... git-svn-id: http://www.varnish-cache.org/svn/trunk@3438 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
This does not do anything yet. git-svn-id: http://www.varnish-cache.org/svn/trunk@3437 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3436 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
This code was written by Colin Percival for the FreeBSD project. git-svn-id: http://www.varnish-cache.org/svn/trunk@3435 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3434 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
for the child object and pretend to send a 304 reply for them, if we have decided to deliver the main object. Fixes #386 git-svn-id: http://www.varnish-cache.org/svn/trunk@3433 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 24 Nov, 2008 9 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3432 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3431 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Avoids build-dependency on binutils-dev git-svn-id: http://www.varnish-cache.org/svn/trunk@3430 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Make reservation and release explicit. Add asserts that this it happens. git-svn-id: http://www.varnish-cache.org/svn/trunk@3429 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3428 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Only emit debug message for writes that fail git-svn-id: http://www.varnish-cache.org/svn/trunk@3427 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
Thanks to Jonny @ globo for noticing. git-svn-id: http://www.varnish-cache.org/svn/trunk@3426 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3425 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@3424 d4fa192b-c00b-0410-8231-f00ffab90ce4
-