internal.cc
Go to the documentation of this file.
32 internalStart(const Comm::ConnectionPointer &clientConn, HttpRequest * request, StoreEntry * entry, const AccessLogEntry::Pointer &ale)
56 reply->setHeaders(Http::scNotFound, "Not Found", "text/plain", strlen(msgbuf), squid_curtime, -2);
95 internalRemoteUri(bool encrypt, const char *host, unsigned short port, const char *dir, const SBuf &name)
void appendf(const char *fmt,...) PRINTF_FORMAT_ARG2
Append operation with printf-style arguments.
Definition: Packable.h:61
void errorAppendEntry(StoreEntry *entry, ErrorState *err)
Definition: errorpage.cc:738
void append(char const *, int) override
Appends a c-string to existing packed data.
Definition: store.cc:803
void internalStart(const Comm::ConnectionPointer &clientConn, HttpRequest *request, StoreEntry *entry, const AccessLogEntry::Pointer &ale)
Definition: internal.cc:32
bool startsWith(const SBuf &S, const SBufCaseSensitive isCaseSensitive=caseSensitive) const
Definition: SBuf.cc:442
void replaceHttpReply(const HttpReplyPointer &, const bool andStartWriting=true)
Definition: store.cc:1705
Definition: HttpRequest.h:48
unsigned int toHostStr(char *buf, const unsigned int len) const
Definition: Address.cc:862
static const SBuf & WellKnownUrlPathPrefix()
initial URL path characters that identify cache manager requests
Definition: cache_manager.cc:107
char * internalRemoteUri(bool encrypt, const char *host, unsigned short port, const char *dir, const SBuf &name)
Definition: internal.cc:95
void start(const Comm::ConnectionPointer &client, HttpRequest *request, StoreEntry *entry, const AccessLogEntryPointer &ale)
Definition: cache_manager.cc:246
Definition: MemBuf.h:23
bool urlAppendDomain(char *host)
apply append_domain config to the given hostname
Definition: Uri.cc:266
Definition: HttpReply.h:24
Definition: Store.h:37
Definition: errorpage.h:88
int caseCmp(const SBuf &S, const size_type n) const
shorthand version for case-insensitive compare()
Definition: SBuf.h:287
void debugObj(int section, int level, const char *label, void *obj, ObjPackMethod pm)
Definition: tools.cc:938
void setHeaders(Http::StatusCode status, const char *reason, const char *ctype, int64_t clen, time_t lmt, time_t expires)
Definition: HttpReply.cc:170
char * internalLocalUri(const char *dir, const SBuf &name)
Definition: internal.cc:139
Definition: Address.h:42
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products