• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/apache-793/httpd/modules/cache/

Lines Matching +defs:cl +defs:key

41  *   Fetch URI key (may contain Format #1 or Format #2)
44 * regenerate key using HeaderName+HeaderValue+.../foo/bar/baz
45 * re-read in key (must be format #2)
81 const char *key; /* On-disk prefix; URI with Vary bits (if present) */
191 apr_size_t key = *slider, colon = 0, len = 0;
203 if (key == *slider) {
219 + key, len - key), apr_pstrndup(r->pool,
225 key = *slider;
248 if (elts[i].key != NULL) {
249 apr_size_t key_len = strlen(elts[i].key);
256 elts[i].key, elts[i].val);
348 static int create_entity(cache_handle_t *h, request_rec *r, const char *key,
368 key);
387 "URL '%s' had no explicit size, ignoring", key);
394 key, len, dconf->max);
399 total = len + sizeof(cache_socache_info_t) + strlen(key);
406 key, total, dconf->max);
414 key, len, dconf->max);
422 obj->key = apr_pstrdup(r->pool, key);
423 sobj->key = obj->key;
424 sobj->name = obj->key;
429 static int open_entity(cache_handle_t *h, request_rec *r, const char *key)
472 "could not acquire lock, ignoring: %s", obj->key);
480 conf->provider->socache_instance, r->server, (unsigned char *) key,
481 strlen(key), sobj->buffer, &buffer_len, r->pool);
486 "could not release lock, ignoring: %s", obj->key);
494 "Key not found in cache: %s", key);
501 "Key found in cache but too big, ignoring: %s", key);
522 "Cannot parse vary entry for key: %s", key);
528 nkey = regen_key(r->pool, r->headers_in, varray, key);
535 "could not acquire lock, ignoring: %s", obj->key);
550 "could not release lock, ignoring: %s", obj->key);
558 "Key not found in cache: %s", key);
565 "Key found in cache but too big, ignoring: %s", key);
573 key, format, CACHE_SOCACHE_DISK_FORMAT_VERSION);
577 nkey = key;
580 obj->key = nkey;
581 sobj->key = nkey;
582 sobj->name = key;
589 "Cache entry for key '%s' too short, removing", nkey);
607 "Cache entry for key '%s' URL mismatch, ignoring", nkey);
616 "Cache entry for key '%s' too short, removing", nkey);
624 sobj->key);
637 "Cache entry for key '%s' response headers unreadable, removing", nkey);
643 "Cache entry for key '%s' request headers unreadable, removing", nkey);
690 "could not acquire lock, ignoring: %s", obj->key);
703 "could not release lock, ignoring: %s", obj->key);
729 /* Remove the key from the cache */
734 "could not acquire lock, ignoring: %s", sobj->key);
741 r->server, (unsigned char *) sobj->key, strlen(sobj->key), r->pool);
746 "could not release lock, ignoring: %s", sobj->key);
835 obj->key);
844 "could not acquire lock, ignoring: %s", obj->key);
852 (unsigned char *) obj->key, strlen(obj->key), sobj->expire,
859 "could not release lock, ignoring: %s", obj->key);
864 "Vary not written to cache, ignoring: %s", obj->key);
870 obj->key = sobj->key = regen_key(r->pool, sobj->headers_in, varray,
924 sobj->key);
1011 h->cache_obj->key);
1028 h->cache_obj->key, sobj->file_size, sobj->buffer_len - sobj->body_offset);
1038 h->cache_obj->key);
1071 h->cache_obj->key);
1077 apr_int64_t cl = apr_atoi64(cl_header);
1078 if ((errno == 0) && (sobj->file_size != cl)) {
1081 h->cache_obj->key);
1111 sobj->key);
1117 h->cache_obj->key);
1125 "could not acquire lock, ignoring: %s", obj->key);
1133 (unsigned char *) sobj->key, strlen(sobj->key), sobj->expire,
1139 "could not release lock, ignoring: %s", obj->key);
1147 "could not write to cache, ignoring: %s", sobj->key);
1168 "could not acquire lock, ignoring: %s", obj->key);
1175 r->server, (unsigned char *) sobj->key, strlen(sobj->key), r->pool);
1180 "could not release lock, ignoring: %s", obj->key);