libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
HTTPCache.cc File Reference
#include "config.h"
#include <cerrno>
#include <cstring>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <algorithm>
#include <iterator>
#include <memory>
#include <mutex>
#include <set>
#include <sstream>
#include "Error.h"
#include "InternalErr.h"
#include "ResponseTooBigErr.h"
#include "HTTPCache.h"
#include "HTTPCacheTable.h"
#include "debug.h"
#include "util.h"
#include "util_mit.h"
Include dependency graph for HTTPCache.cc:

Go to the source code of this file.

Namespaces

namespace  libdap
 top level DAP object to house generic methods
 

Functions

bool libdap::is_hop_by_hop_header (const string &header)
 
New multi-process locking methods
Accessors and Mutators for various properties.
bool libdap::ends_with (std::string const &value, std::string const &ending)
 

Variables

const string CACHE_EMPTY_ETAG {"@cache@"}
 
const string CACHE_INDEX {".index"}
 
const string CACHE_LOCATION {"/tmp/"}
 
const string CACHE_LOCK {".lock"}
 
const string CACHE_META {".meta"}
 
const string CACHE_ROOT {"dods-cache/"}
 
const string DIR_SEPARATOR_CHAR {"/"}
 

Variable Documentation

◆ CACHE_EMPTY_ETAG

const string CACHE_EMPTY_ETAG {"@cache@"}

Definition at line 61 of file HTTPCache.cc.

◆ CACHE_INDEX

const string CACHE_INDEX {".index"}

Definition at line 58 of file HTTPCache.cc.

◆ CACHE_LOCATION

const string CACHE_LOCATION {"/tmp/"}

Definition at line 54 of file HTTPCache.cc.

◆ CACHE_LOCK

const string CACHE_LOCK {".lock"}

Definition at line 59 of file HTTPCache.cc.

◆ CACHE_META

const string CACHE_META {".meta"}

Definition at line 60 of file HTTPCache.cc.

◆ CACHE_ROOT

const string CACHE_ROOT {"dods-cache/"}

Definition at line 56 of file HTTPCache.cc.

◆ DIR_SEPARATOR_CHAR

const string DIR_SEPARATOR_CHAR {"/"}

Definition at line 63 of file HTTPCache.cc.