HttpHdrContRange.cc
Go to the documentation of this file.
67 debugs(68, 2, "invalid (no first-byte-pos or it is negative) resp-range-spec near: '" << field << "'");
176 } else if (known_spec(range->spec.length) && range->elength < (range->spec.offset + range->spec.length)) {
177 debugs(68, 2, "invalid (range is outside entity-length) content-range-spec near: '" << str << "'");
HttpHdrContRange * httpHdrContRangeCreate(void)
Definition: HttpHdrContRange.cc:118
void appendf(const char *fmt,...) PRINTF_FORMAT_ARG2
Append operation with printf-style arguments.
Definition: Packable.h:61
Definition: HttpHeaderRange.h:26
virtual void append(const char *buf, int size)=0
Appends a c-string to existing packed data.
void httpHdrContRangeSet(HttpHdrContRange *cr, HttpHdrRangeSpec spec, int64_t ent_len)
Definition: HttpHdrContRange.cc:220
Definition: Packable.h:52
int httpHdrContRangeParseInit(HttpHdrContRange *range, const char *str)
Definition: HttpHdrContRange.cc:141
HttpHdrContRange * httpHdrContRangeDup(const HttpHdrContRange *range)
Definition: HttpHdrContRange.cc:196
bool httpHeaderParseOffset(const char *start, int64_t *value, char **endPtr)
Definition: HttpHeaderTools.cc:137
HttpHdrContRange * httpHdrContRangeParseCreate(const char *str)
Definition: HttpHdrContRange.cc:127
static int httpHdrRangeRespSpecParseInit(HttpHdrRangeSpec *spec, const char *field, int flen)
Definition: HttpHdrContRange.cc:42
Definition: HttpHdrContRange.h:17
void httpHdrContRangePackInto(const HttpHdrContRange *range, Packable *p)
Definition: HttpHdrContRange.cc:206
static void httpHdrRangeRespSpecPackInto(const HttpHdrRangeSpec *spec, Packable *p)
Definition: HttpHdrContRange.cc:102
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