Stream.cc File Reference
#include "squid.h"
#include "client_side_request.h"
#include "http/Stream.h"
#include "HttpHdrContRange.h"
#include "HttpHeaderTools.h"
#include "Store.h"
#include "TimeOrTag.h"
#include "acl/FilledChecklist.h"
#include "ClientInfo.h"
#include "fde.h"
#include "MessageDelayPools.h"
Include dependency graph for Stream.cc:
Go to the source code of this file.
Functions | |
static bool | clientIfRangeMatch (ClientHttpRequest *http, HttpReply *rep) |
Function Documentation
◆ clientIfRangeMatch()
|
static |
- Returns
- true when If-Range specs match reply, false otherwise
Definition at line 379 of file Stream.cc.
References assert, DBG_IMPORTANT, debugs, Http::ETAG, etagIsStrongEqual(), HttpHeader::getETag(), HttpHeader::getTimeOrTag(), Http::Message::header, Http::IF_RANGE, StoreEntry::modifiedSince(), ClientHttpRequest::request, ClientHttpRequest::storeEntry(), ETag::str, TimeOrTag::tag, TimeOrTag::time, TimeOrTag::valid, and ETag::weak.
Referenced by Http::Stream::buildRangeHeader().