HttpHdrRange.cc
Go to the documentation of this file.
bool httpHeaderParseOffset(const char *start, int64_t *value, char **endPtr)
Definition: HttpHeaderTools.cc:137
int strListGetItem(const String *str, char del, const char **item, int *ilen, const char **pos)
Definition: StrList.cc:86
const HttpHdrRangeSpec * currentSpec() const
Definition: HttpHdrRange.cc:532
Definition: HttpHeaderRange.h:27
bool parseInit(const char *field, int flen)
Definition: HttpHdrRange.cc:64
static HttpHdrRangeSpec * Create(const char *field, int fieldLen)
Definition: HttpHdrRange.cc:53
bool mergeWith(const HttpHdrRangeSpec *donor)
Definition: HttpHdrRange.cc:162
static int64_t const UnknownPosition
Definition: HttpHeaderRange.h:32
Definition: HttpHeaderRange.h:52
std::vector< HttpHdrRangeSpec * >::iterator iterator
Definition: HttpHeaderRange.h:65
void getCanonizedSpecs(std::vector< HttpHdrRangeSpec * > ©)
Definition: HttpHdrRange.cc:349
bool offsetLimitExceeded(const int64_t limit) const
Definition: HttpHdrRange.cc:510
void merge(std::vector< HttpHdrRangeSpec * > &basis)
Definition: HttpHdrRange.cc:323
std::vector< HttpHdrRangeSpec * >::const_iterator const_iterator
Definition: HttpHeaderRange.h:66
static HttpHdrRange * ParseCreate(const String *range_spec)
Definition: HttpHdrRange.cc:210
Definition: HttpReply.h:25
Definition: Packable.h:53
void appendf(const char *fmt,...) PRINTF_FORMAT_ARG2
Append operation with printf-style arguments.
Definition: Packable.h:61
virtual void append(const char *buf, int size)=0
Appends a c-string to existing packed data.
Definition: Range.h:19
Definition: SquidString.h:26