- 07 Feb, 2011 10 commits
-
-
Poul-Henning Kamp authored
So imagine an object during fetch, where we have allocated the storage for the object structure, the persistent silo gets synced, so the data ends up in the next segment, and then we crash before that segment gets synched to silo. On restart the object looks good, until we try to access its storage... *bewm* This is a stopgap, that catches such objects and neuters them, using a set of paranoid sanitychecks we should employ in any case. There still is a relevant hole: As above, but after the restart we manage to write a new segment before the initial object is accessed, and it happens to have a storage structure just the same place (not unlikely at the beginning) We do not crash in this case, but deliver wrong content. Did I ever mention that -spersistent for all practical purposes is a filesytem ?
-
Poul-Henning Kamp authored
Remove the aim_nobj, it has been found not useful. Remove pointer from persistent.h, it shouldn't contain any. Document debug.persistent, it will be useful for debugging. Exercise it in testcase.
-
Poul-Henning Kamp authored
(via objcore method) and refer resultant empty persistant segments.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
it refers to.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
one segment open at a time anyway. Add a "sync" debug command
-
Poul-Henning Kamp authored
testing and debugging.
-
Poul-Henning Kamp authored
should be on.
-
Poul-Henning Kamp authored
Reminded about again by: Ralph Corderoy <ralph@inputplus.co.uk>
-
- 06 Feb, 2011 1 commit
-
-
Poul-Henning Kamp authored
actually makes sense... Spotted by: Ralph Corderoy <ralph@inputplus.co.uk>
-
- 03 Feb, 2011 11 commits
-
-
Ingvar Hagelund authored
from git.
-
Ingvar Hagelund authored
-
Tollef Fog Heen authored
Use strcmp and not == for comparing strings
-
Tollef Fog Heen authored
Typos in documentation, thanks to Camiel Dobbelaar for spotting these.
-
Tollef Fog Heen authored
-
Tollef Fog Heen authored
-
Tollef Fog Heen authored
-
Tollef Fog Heen authored
-
Tollef Fog Heen authored
-
Tollef Fog Heen authored
If varnishd is compiled with -DDIAGNOSTIC and run with -x dumprst (previously -x dumpmdoc) it will dump the paramer definitions in rst (previously mdoc) format, suitable for including into the varnishd reference documentation.
-
Nils Goroll authored
-
- 01 Feb, 2011 4 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
systematic footing.
-
Poul-Henning Kamp authored
debug pipe.
-
Poul-Henning Kamp authored
-
- 31 Jan, 2011 9 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
VCC expects an ID, and complains if it is not on the list of valid values. The value is passed as a "const char *" More and better error messages from vmod.py
-
Poul-Henning Kamp authored
and add support for argument qualifiers in {...}
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
more portable, says Nils Goroll
-
Poul-Henning Kamp authored
(fix a typo in previous commit)
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Remember to free vgz structures again in ESI fetching
-
- 29 Jan, 2011 1 commit
-
-
Poul-Henning Kamp authored
-
- 28 Jan, 2011 4 commits
-
-
Poul-Henning Kamp authored
grace to zero. if you want ttl=0 with a non-zero grace, set ttl first, then set grace.
-
Poul-Henning Kamp authored
solely through the .ttl and .grace variables. Add a parameter "shortlived", objects with ttl shorter than this always go into transient (malloc) storage, just like pass objects do. Enforce a minimum 1sec TTL for hit-for-pass.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
time might have been, it clearly was woollen, and all it did was confuse people.
-