internal.cc
Go to the documentation of this file.
33internalStart(const Comm::ConnectionPointer &clientConn, HttpRequest * request, StoreEntry * entry, const AccessLogEntry::Pointer &ale)
57 reply->setHeaders(Http::scNotFound, "Not Found", "text/plain", strlen(msgbuf), squid_curtime, -2);
96internalRemoteUri(bool encrypt, const char *host, unsigned short port, const char *dir, const SBuf &name)
bool urlAppendDomain(char *host)
apply append_domain config to the given hostname
Definition: Uri.cc:223
static const SBuf & WellKnownUrlPathPrefix()
initial URL path characters that identify cache manager requests
Definition: cache_manager.cc:156
void start(const Comm::ConnectionPointer &client, HttpRequest *request, StoreEntry *entry, const AccessLogEntryPointer &ale)
Definition: cache_manager.cc:295
Definition: errorpage.h:89
Definition: HttpReply.h:25
void setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires)
Definition: HttpReply.cc:170
Definition: HttpRequest.h:49
Definition: Address.h:41
unsigned int toHostStr(char *buf, const unsigned int len) const
Definition: Address.cc:842
Definition: MemBuf.h:24
void appendf(const char *fmt,...) PRINTF_FORMAT_ARG2
Append operation with printf-style arguments.
Definition: Packable.h:61
bool startsWith(const SBuf &S, const SBufCaseSensitive isCaseSensitive=caseSensitive) const
Definition: SBuf.cc:442
Definition: Store.h:42
void replaceHttpReply(const HttpReplyPointer &, const bool andStartWriting=true)
Definition: store.cc:1691
void append(char const *, int) override
Appends a c-string to existing packed data.
Definition: store.cc:789
Definition: wordlist.h:20
void errorAppendEntry(StoreEntry *entry, ErrorState *err)
Definition: errorpage.cc:717
char * internalLocalUri(const char *dir, const SBuf &name)
Definition: internal.cc:140
char * internalRemoteUri(bool encrypt, const char *host, unsigned short port, const char *dir, const SBuf &name)
Definition: internal.cc:96
void internalStart(const Comm::ConnectionPointer &clientConn, HttpRequest *request, StoreEntry *entry, const AccessLogEntry::Pointer &ale)
Definition: internal.cc:33
void debugObj(int section, int level, const char *label, void *obj, ObjPackMethod pm)
Definition: tools.cc:938