- 06 Dec, 2010 1 commit
-
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5640 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 30 Nov, 2010 1 commit
-
-
Per Andreas Buer authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5639 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 29 Nov, 2010 3 commits
-
-
Poul-Henning Kamp authored
in critbit to avoid a malloc in the locked path. Move the waitinglist to its own structure in preparation for Big Things Afoot which will give it more work to do. This saves a pointer in objhead on average, always a good thing. Have the worker thread preallocate a waitinglist structure. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5615 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5614 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5594 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 28 Nov, 2010 2 commits
-
-
Per Andreas Buer authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5593 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
STRING vmod_std.fileread(STRING filename) function, which will read the contents of a file, typically for use in synthetic responses. Submitted by: Sanjoy Das git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5592 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 26 Nov, 2010 3 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5591 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
version 1.0 to mark support for here-documents. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5590 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
them from becoming an out of memory DoS. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5589 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 25 Nov, 2010 1 commit
-
-
Poul-Henning Kamp authored
The last argument to any CLI command can use this feature. Typical example: vcl.inline vcl_new << 42 backend foo {...} sub vcl_recv {...} 42 The advantage is that no escaping is needed, as long as the magic marker, in this case "42" does not match any line anywhere in the lines that make up the argument. Arguments encoded this way are not subject to the "cli_buffer" parameters size limitation. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5588 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 22 Nov, 2010 10 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5587 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
reflect the sum of obj.ttl and obj.grace. Obj.grace if not set, default to $default_grace, which might have a different value when we open the silo in a new run. Solve this, by saving the ttl as the negative sum of (obj.ttl + obj.grace) if obj.grace is set, or the positive obj.ttl if it is not, and by adding $default_grace to obj.ttl in the latter case. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5586 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5585 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5584 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
of work to do, this timestamp could get behind times, and send the thread to sleep, despite being behind on work. Fix this, by updating the timestamp whenever we run out of work. Add a parameter ("expiry_sleep") to control how long time the thread will sleep so this can be tuned down on high-load servers. Inspired by: sky git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5583 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
a change of key value. Contrary to the previous comment in cache_expire.c, this process is guaranteed to work because the shuffle will always terminate either in the root position or in the bottom row. Use this function when we adjust ttl on an object. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5582 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Various minor nits git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5581 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Martin Blix Grydeland authored
Fixes: #817 git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5580 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Move HSH_Freestore() to STV_Freestore(), it's a better fit. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5579 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5578 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 21 Nov, 2010 12 commits
-
-
Per Andreas Buer authored
Split up the hitrate chapter into four and added a introduction to ESI. ESI needs a bit of work wrt params and operational factors. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5577 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Per Andreas Buer authored
Split up the hitrate chapter into four and added a introduction to ESI. ESI needs a bit of work wrt params and operational factors. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5576 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Seed the RAND48 generator when we seed the RANDOM generator. This eats up one random number, so test-cases relying on order needs to shift one down. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5575 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5574 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5573 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5572 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
sp->objcore and we can find the objhead from the objcore. Rename it to match its remaining functionality: recording which busy objhead we are sleeping on. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5571 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5570 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5569 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5568 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5567 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Only -spersistent needs it yet and we can generalize should the need ever materialize. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5566 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 20 Nov, 2010 7 commits
-
-
Poul-Henning Kamp authored
rather than the pointer, otherwise a number of nasty issues appear. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5565 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5564 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5563 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
simplifies stuff somewhat for the main code and remains the same tricky business for -spersistent. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5562 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
does not require it any more. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5561 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
of the default method for now. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5560 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
non-cacheable objects, rather than direct mallocs. git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5559 d4fa192b-c00b-0410-8231-f00ffab90ce4
-