Lines Matching refs:hdrs
390 file_cache_create(conf, &dobj->hdrs, pool);
395 dobj->hdrs.file = header_file(r->pool, conf, dobj, key);
480 dobj->hdrs.file = header_file(r->pool, conf, dobj, nkey);
483 rc = apr_file_open(&dobj->hdrs.fd, dobj->hdrs.file, flags, 0, r->pool);
499 dobj->hdrs.fd = dobj->vary.fd;
501 dobj->hdrs.file = dobj->vary.file;
506 apr_file_seek(dobj->hdrs.fd, APR_SET, &offset);
517 file_cache_create(conf, &dobj->hdrs, pool);
524 rc = file_cache_recall_mydata(dobj->hdrs.fd, info, dobj, r);
527 "Cannot read header file %s", dobj->hdrs.file);
528 apr_file_close(dobj->hdrs.fd);
537 dobj->hdrs.file);
538 apr_file_close(dobj->hdrs.fd);
556 apr_file_close(dobj->hdrs.fd);
596 apr_file_close(dobj->hdrs.fd);
616 close_disk_cache_fd(&(dobj->hdrs));
637 if (dobj->hdrs.file) {
639 "Deleting %s from cache.", dobj->hdrs.file);
641 rc = apr_file_remove(dobj->hdrs.file, r->pool);
648 dobj->hdrs.file);
674 str_to_copy = dobj->hdrs.file ? dobj->hdrs.file : dobj->data.file;
869 if (!dobj->hdrs.fd) {
879 read_table(h, r, h->resp_hdrs, dobj->hdrs.fd);
880 read_table(h, r, h->req_hdrs, dobj->hdrs.fd);
882 apr_file_close(dobj->hdrs.fd);
980 dobj->hdrs.file = dobj->prefix;
984 rv = mkdir_structure(conf, dobj->hdrs.file, r->pool);
1035 dobj->prefix = dobj->hdrs.file;
1038 dobj->hdrs.file = header_file(r->pool, conf, dobj, tmp);
1043 rv = apr_file_mktemp(&dobj->hdrs.tempfd, dobj->hdrs.tempfile,
1045 APR_BUFFERED | APR_EXCL, dobj->hdrs.pool);
1050 dobj->hdrs.tempfile);
1075 rv = apr_file_writev_full(dobj->hdrs.tempfd, (const struct iovec *) &iov,
1080 dobj->hdrs.tempfile);
1081 apr_file_close(dobj->hdrs.tempfd);
1082 apr_pool_destroy(dobj->hdrs.pool);
1087 rv = store_table(dobj->hdrs.tempfd, dobj->headers_out);
1091 dobj->hdrs.tempfile);
1092 apr_file_close(dobj->hdrs.tempfd);
1093 apr_pool_destroy(dobj->hdrs.pool);
1101 rv = store_table(dobj->hdrs.tempfd, dobj->headers_in);
1105 dobj->hdrs.tempfile);
1106 apr_file_close(dobj->hdrs.tempfd);
1107 apr_pool_destroy(dobj->hdrs.pool);
1112 rv = apr_file_close(dobj->hdrs.tempfd); /* flush and close */
1116 dobj->hdrs.tempfile);
1117 apr_pool_destroy(dobj->hdrs.pool);
1326 rv = file_cache_el_final(conf, &dobj->hdrs, r);