source: bin/varnishd/cache_hash.c @ 714e0e

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @714e0e   6 years phk NB: Be careful with -trunk, this is a quite intrusive change. Continue …
(edit) @f2fb35   6 years phk Add a facility to constructing a synthetic object from VCL. This is just …
(edit) @ac0d9f   6 years phk Wash & cleaning of the -h and -s argument handling. No functional …
(edit) @92019e   6 years phk Add a param "log_hashstring" that controls logging of the completed hash …
(edit) @756120   6 years phk Use default_grace consistently or it will all be in vain. Submitted …
(edit) @4352ff   6 years phk Change defaults: Make Grace mode the default with 10 seconds (param: …
(edit) @e5d00c   6 years phk Overhaul the regexp purge/ban code, with a detour around the CLI code. …
(edit) @2f10e04   6 years phk Fix a memoryleak relating to hash strings, found by: Arjan (noosius). …
(edit) @66f62b   6 years phk Add a DSL() macro for diagnostic shmlogging and use it. git-svn-id: …
(edit) @f686410   6 years phk Log free object workspace instead of used to get the size of the object …
(edit) @ee46a8   6 years phk Add diagnostic features to keep track of object workspace usage. …
(edit) @e1b348   6 years phk Split the http_workspace into sess_workspace and obj_workspace, so they …
(edit) @d2c748   6 years phk Put waiting list shmlogs under diag_bitmap git-svn-id: …
(edit) @e8b1989   6 years phk Make cache_expire.c pick up its own reference on the object. git-svn-id: …
(edit) @ee5481   6 years phk Rename EXP_TTLchange() to EXP_Rearm() and move binheap check into …
(edit) @786fca3   6 years phk Oops, this should not have been deleted in my previous commit …
(edit) @291b8c   6 years phk Move the #include of heritage.h to cache.h. git-svn-id: …
(edit) @3fed51   6 years phk Kill debugging shmlogging overlooked for too long. git-svn-id: …
(edit) @5a5ee8b   6 years des Use #include "config.h" instead of -include config.h git-svn-id: …
(edit) @fe7a68   6 years des Update copyright; also convert a couple of files from ISO-8859-1 to UTF-8. …
(edit) @7c4886   6 years phk Close another possible NULL dereference git-svn-id: …
(edit) @94f2fb6   6 years phk Fix a possible NULL dereference. git-svn-id: …
(edit) @b7839e   6 years phk Finish (the "easy") part of degraded mode: Add req.grace timer: We only …
(edit) @799bbd   6 years phk Instead of sleeping as soon as we see a busy object, traverse the rest of …
(edit) @4b53ab   6 years phk With Vary, Prefetch and degraded mode, a session sleeps not on a …
(edit) @4bb97bb   6 years phk Deoptimize the central object matching loop in the hash code: With the …
(edit) @198857d   6 years phk Pave more road for prefetch: Sanity-check values assigned to obj.prefetch …
(edit) @1dd5ad   6 years phk When an object is being fetched from the backend, other requests for it …
(edit) @839e4a   6 years phk Typo in previous commit. git-svn-id: …
(edit) @3b1e4b   6 years phk More checks, trying to find pointer tango git-svn-id: …
(edit) @3290b1   7 years phk Make ESI processing actually work. So far we support only the …
(edit) @f63eea   7 years phk Move the objects and their http header into storage instead of malloc'ing …
(edit) @a72bf08   7 years phk Eliminate a & which I tend to forget every single time. git-svn-id: …
(edit) @1c8e66   7 years phk Add the first stab at a "restart" mechanism. The intent is to be able to …
(edit) @daf52c   7 years phk Another cleanup commit: Get rid of the httptag enum, we can use the …
(edit) @529d46   7 years des The previous commit made things worse rather than better, as some systems …
(edit) @94d5325   7 years phk Misc changes: A couple of XXX comments Some returnvalue asserts Some …
(edit) @a857db   7 years phk Use pdiff() to guard against negative point differences git-svn-id: …
(edit) @e50037   7 years phk More const polishing git-svn-id: …
(edit) @f9b195   7 years phk Const'ifcation git-svn-id: …
(edit) @17662d   7 years phk Our first cut at a LRU processing contained a three way race and can cause …
(edit) @3256a8   7 years phk Implement purging on either of hash or url. In VCL: purge_url(<regexp>) …
(edit) @93a770e   7 years phk Rewrite the req.hash implmentation: Instead of assembling the entire …
(edit) @21e4ad   7 years des Additional style cleanup; remove stevedore list from heritage; revert …
(edit) @1a29b8   7 years des Remove object from LRU list before freeing it; this does not entirely …
(edit) @64de51   7 years phk Change all timekeeping to use doubles instead of time_t and struct …
(edit) @059e1b   7 years des Mostly finish the LRU code and its integration: - Wrap the storage code …
(edit) @766469   7 years des First step in implementing early retirement of objects when the cache …
(edit) @9254972   7 years des Use FREE_OBJ() instead of just free() when freeing miniobjs. git-svn-id: …
(edit) @caba8d   7 years des Avoid an assertion failure by not calling EXP_TTLChange() for objects …
(edit) @b7ea98   7 years phk Actually get the logic right here, if there is no Vary string, the object …
(edit) @6231c8   7 years phk Fix a NULL pointer deref in the Vary code. git-svn-id: …
(edit) @7aeeca   7 years phk Make HSH_Freestore() static git-svn-id: …
(edit) @d32524   7 years phk Take a shot at light-weight "Vary:" processing. When we cache an object …
(edit) @11f984b   7 years des Update the Linpro copyright. git-svn-id: …
(edit) @b636e25   7 years phk Wrap the management of the session workspace in functions, to prevent …
(edit) @984c5f   7 years des Correct a systematic typo in the license. git-svn-id: …
(edit) @c12e7eb   7 years phk Implement runtime part of VCL controlled hashing. The vcl_hash() is now …
(edit) @a4f30d7   7 years des Don't try to lock the objhead mutex if we don't have an objhead. Doing so …
(edit) @42b9d90   7 years phk Add a bit of garbage collection to yesterdays change: Passed objects need …
(edit) @0dd910f   7 years phk Having thought long and hard about this, commit what I think is the new …
(edit) @4f04f5f   8 years des Whitespace, comment and attribution fixes. git-svn-id: …
(edit) @88ea91   8 years phk Remove doubled author information. git-svn-id: …
(edit) @24192d   8 years phk Assert my right to be identified as the author of this work. A couple of …
(edit) @04b22e   8 years des Rendons à César ce qui lui appartient. git-svn-id: …
(edit) @f8ed03   8 years des Licensify. git-svn-id: …
(edit) @c02e1b   8 years phk Wrap mutex more completely so that experimentation becomes easier. …
(edit) @00dc95   8 years phk Go through all asserts and mark those which indicate missing code with xxx …
(edit) @56ee9e   8 years phk Introduce LOCK() and UNLOCK() macros which does the right thing with …
(edit) @16f291   8 years phk don't service cached objects the last second of their lifetime. …
(edit) @b36ceb   8 years phk quench warnings related to libvarnish.h git-svn-id: …
(edit) @d7225a   8 years phk More miniobj paranoia git-svn-id: …
(edit) @315d3e   8 years phk Record timestamp when we have received completed HTTP request header, and …
(edit) @b2627c9   8 years phk Convert fetch, insert and deliver to use new HTTP header munging code. …
(edit) @dcef43   8 years phk HTTP header munging part (N of M) NB: Only pass mode (lightly) tested …
(edit) @797aec   8 years phk Yet another refinement to the way we store and deal with HTTP headers. …
(edit) @ea6181   8 years phk We need to check the TTL here also, if a (sequence of) slow client(s) …
(edit) @778cbe   8 years phk Use miniobj.h to catch pointer trouble git-svn-id: …
(edit) @689609   8 years phk Assert that object is busy when we call unbusy git-svn-id: …
(edit) @1a3b2c   8 years phk Add http_Read() which reads from a socket but soaks up any prefeched tail …
(edit) @a75909   8 years phk Retire the http_GetReq(), http_GetURL() and http_GetProto() accessor …
(edit) @c72bb9   8 years phk When during a lookup we encounter a busy object, queue the session on the …
(edit) @9764cb2   8 years phk More Flexelinting git-svn-id: …
(edit) @c1ef0b   8 years phk Implement "insert_pass" mode where we cache that an entity must be passed. …
(edit) @9a4b6f   8 years phk Add explanation for locking, some minor polishing. git-svn-id: …
(edit) @ec4eb0   8 years phk Hash on both URL and Host header. If no host header, hash on URL twice. …
(edit) @df7b70   8 years phk Sanitize #includes a bit in the cache process by moving fundamental …
(edit) @f3d13a   8 years phk Add more stats git-svn-id: …
(edit) @b91fb4   8 years phk Free the right header. git-svn-id: …
(edit) @aec1e5   8 years phk Don't leak objects headers git-svn-id: …
(edit) @ec3258   8 years phk Add another hash-method with better real-world survival chances: A classic …
(edit) @4e6992d   8 years des Consistently use our own copy of queue.h. git-svn-id: …
(edit) @1e2c26   8 years phk Log objects banned to shmlog git-svn-id: …
(edit) @0fe81f   8 years phk Add the ability to instantly ban/purge all cached objects matching a given …
(edit) @38c476   8 years phk typo git-svn-id: …
(edit) @b758bf   8 years phk Start releasing objects when they expire git-svn-id: …
(edit) @552607   8 years phk Move a bit more responsibility into the hash-slinger to get a cleaner …
(add) @9a788d2   8 years phk Now that we approach the time where objects have to be destroyed again, we …
Note: See TracRevisionLog for help on using the revision log.