- 12 Oct, 2009 1 commit
-
-
Edward Fjellskaal authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4322 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 09 Oct, 2009 1 commit
-
-
Dag Erling Smørgrav authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4321 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 07 Oct, 2009 2 commits
-
-
Poul-Henning Kamp authored
Move the objindex pointer and length to the segment table, having it in the segment signatures is just a waste of disk-access on startup. Put empty signatures at segment head, objidx and segment tail. Align allocations to 16 bytes boundaries, for cache and hexdump convenience. Discard unsused segments on close. git-svn-id: http://www.varnish-cache.org/svn/trunk@4279 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Only delete empty segments from front of list. Preallocate the temporary object-index buffer at open time. git-svn-id: http://www.varnish-cache.org/svn/trunk@4278 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 06 Oct, 2009 2 commits
-
-
Poul-Henning Kamp authored
using malloc space. Otherwise -spersistent would resurrect objects without their Vary specifications. git-svn-id: http://www.varnish-cache.org/svn/trunk@4277 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4276 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 04 Oct, 2009 6 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4275 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Use consistent boundary check for end of segment. git-svn-id: http://www.varnish-cache.org/svn/trunk@4274 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4273 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Use an index into the segments object index instead of a pointer, to avoid dealing with the temporary buffer used in the active segment. Correctly count the various kinds of states objects can be in. Only check the signature id inside the signature id field. Don't load segments if the object index was not committed. Reuse the temporary object index buffer. Lock updates to ttl and ban, if in the active segment, to close race against segment closing. git-svn-id: http://www.varnish-cache.org/svn/trunk@4272 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4271 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Reserve space for the objects entry in the index, when the object is allocated. Allow smaller than requested allocations for non-object allocations. Attempt allocation from three segments, then give up. git-svn-id: http://www.varnish-cache.org/svn/trunk@4270 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 02 Oct, 2009 1 commit
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4269 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 01 Oct, 2009 3 commits
-
-
Poul-Henning Kamp authored
Take due care to not confuse unloaded segments with empty segments in this respect. git-svn-id: http://www.varnish-cache.org/svn/trunk@4268 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4267 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
an object structure. git-svn-id: http://www.varnish-cache.org/svn/trunk@4266 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 30 Sep, 2009 2 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4265 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
Increase the ID field in the shmlog records from 16 to 32 bits to cater for 64k+ connections. Both varnishd and libvarnishapi needs to be recompiled, but apps should not need to. git-svn-id: http://www.varnish-cache.org/svn/trunk@4264 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 29 Sep, 2009 3 commits
-
-
Poul-Henning Kamp authored
attempting a reply. Fixes #561 git-svn-id: http://www.varnish-cache.org/svn/trunk@4263 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
We still do not have the cleaner, so when we run out of space we simply exit the worker process with a message, the restart will blow away some segments and thus make some space for us. git-svn-id: http://www.varnish-cache.org/svn/trunk@4262 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4261 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 24 Sep, 2009 3 commits
-
-
Poul-Henning Kamp authored
Submitted by: "Jos I. Boumans" <jos@dwim.org> git-svn-id: http://www.varnish-cache.org/svn/trunk@4242 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4241 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
because vcl_recv does "return(error);", force the status to 501. Fixes: #558 git-svn-id: http://www.varnish-cache.org/svn/trunk@4240 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 22 Sep, 2009 1 commit
-
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4239 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 21 Sep, 2009 1 commit
-
-
Tollef Fog Heen authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4238 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 15 Sep, 2009 1 commit
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4237 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 14 Sep, 2009 1 commit
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4236 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 11 Sep, 2009 1 commit
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4235 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 08 Sep, 2009 5 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4234 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4233 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4232 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
progress. git-svn-id: http://www.varnish-cache.org/svn/trunk@4231 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4230 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 04 Sep, 2009 3 commits
-
-
Poul-Henning Kamp authored
git-svn-id: http://www.varnish-cache.org/svn/trunk@4229 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
some significant changes to the policy. git-svn-id: http://www.varnish-cache.org/svn/trunk@4228 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
appropriate location for this code. git-svn-id: http://www.varnish-cache.org/svn/trunk@4227 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 03 Sep, 2009 1 commit
-
-
Poul-Henning Kamp authored
to fix the discrepancy in the object/objcore count they would otherwise represent. XXX: Not quite sure if they should also be counted as a subset of n_object to give people an easy way to access "total objects available in cache". Will decide this later. git-svn-id: http://www.varnish-cache.org/svn/trunk@4226 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
- 02 Sep, 2009 2 commits
-
-
Poul-Henning Kamp authored
what is leaking. git-svn-id: http://www.varnish-cache.org/svn/trunk@4225 d4fa192b-c00b-0410-8231-f00ffab90ce4
-
Poul-Henning Kamp authored
and instead (ab)used the obj.* set. This allowed, amongst other things, the headers of cached objects to be munged by subsequent cache-hits. This was just as bad an idea as it sounds. The downside was, that we had to reserve object workspace for the potentially created headers, and this really bites, memory wise, if your content is many small objects. This commit allows, and sets obj_workspace to zero, allocating only as much space as is necessary for the actual headers after vcl_fetch() has returned. The downside is, without extra workspace, you can no longer change the content of obj.* string variables after the vcl_fetch() which instantiated the object. For now we still allow the obj_workspace to be set to reserve such space, but in all likelyhood, this ability will disappear in the future. git-svn-id: http://www.varnish-cache.org/svn/trunk@4224 d4fa192b-c00b-0410-8231-f00ffab90ce4
-