Lines Matching refs:key

43  *   Fetch URI key (may contain Format #1 or Format #2)
46 * regenerate key using HeaderName+HeaderValue+.../foo/bar/baz
47 * re-read in key (must be format #2)
83 const char *key; /* On-disk prefix; URI with Vary bits (if present) */
193 apr_size_t key = *slider, colon = 0, len = 0;
205 if (key == *slider) {
221 + key, len - key), apr_pstrndup(r->pool,
227 key = *slider;
250 if (elts[i].key != NULL) {
251 apr_size_t key_len = strlen(elts[i].key);
258 elts[i].key, elts[i].val);
350 static int create_entity(cache_handle_t *h, request_rec *r, const char *key,
370 key);
389 "URL '%s' had no explicit size, ignoring", key);
396 key, len, dconf->max);
401 total = len + sizeof(cache_socache_info_t) + strlen(key);
408 key, total, dconf->max);
416 key, len, dconf->max);
424 obj->key = apr_pstrdup(r->pool, key);
425 sobj->key = obj->key;
426 sobj->name = obj->key;
431 static int open_entity(cache_handle_t *h, request_rec *r, const char *key)
474 "could not acquire lock, ignoring: %s", obj->key);
482 conf->provider->socache_instance, r->server, (unsigned char *) key,
483 strlen(key), sobj->buffer, &buffer_len, r->pool);
488 "could not release lock, ignoring: %s", obj->key);
496 "Key not found in cache: %s", key);
503 "Key found in cache but too big, ignoring: %s", key);
524 "Cannot parse vary entry for key: %s", key);
530 nkey = regen_key(r->pool, r->headers_in, varray, key);
537 "could not acquire lock, ignoring: %s", obj->key);
552 "could not release lock, ignoring: %s", obj->key);
560 "Key not found in cache: %s", key);
567 "Key found in cache but too big, ignoring: %s", key);
575 key, format, CACHE_SOCACHE_DISK_FORMAT_VERSION);
579 nkey = key;
582 obj->key = nkey;
583 sobj->key = nkey;
584 sobj->name = key;
591 "Cache entry for key '%s' too short, removing", nkey);
609 "Cache entry for key '%s' URL mismatch, ignoring", nkey);
618 "Cache entry for key '%s' too short, removing", nkey);
626 sobj->key);
639 "Cache entry for key '%s' response headers unreadable, removing", nkey);
645 "Cache entry for key '%s' request headers unreadable, removing", nkey);
692 "could not acquire lock, ignoring: %s", obj->key);
705 "could not release lock, ignoring: %s", obj->key);
731 /* Remove the key from the cache */
736 "could not acquire lock, ignoring: %s", sobj->key);
743 r->server, (unsigned char *) sobj->key, strlen(sobj->key), r->pool);
748 "could not release lock, ignoring: %s", sobj->key);
837 obj->key);
846 "could not acquire lock, ignoring: %s", obj->key);
854 (unsigned char *) obj->key, strlen(obj->key), sobj->expire,
861 "could not release lock, ignoring: %s", obj->key);
866 "Vary not written to cache, ignoring: %s", obj->key);
872 obj->key = sobj->key = regen_key(r->pool, sobj->headers_in, varray,
926 sobj->key);
1013 h->cache_obj->key);
1030 h->cache_obj->key, sobj->file_size, sobj->buffer_len - sobj->body_offset);
1040 h->cache_obj->key);
1073 h->cache_obj->key);
1083 h->cache_obj->key);
1113 sobj->key);
1119 h->cache_obj->key);
1127 "could not acquire lock, ignoring: %s", obj->key);
1135 (unsigned char *) sobj->key, strlen(sobj->key), sobj->expire,
1141 "could not release lock, ignoring: %s", obj->key);
1149 "could not write to cache, ignoring: %s", sobj->key);
1170 "could not acquire lock, ignoring: %s", obj->key);
1177 r->server, (unsigned char *) sobj->key, strlen(sobj->key), r->pool);
1182 "could not release lock, ignoring: %s", obj->key);