#include "squid.h"
#include "AccessLogEntry.h"
#include "acl/FilledChecklist.h"
#include "base/TextException.h"
#include "cbdata.h"
#include "errorpage.h"
#include "FwdState.h"
#include "globals.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "icmp/net_db.h"
#include "MemBuf.h"
#include "mime_header.h"
#include "RequestFlags.h"
#include "Store.h"
#include "StoreClient.h"
#include "tools.h"
#include "urn.h"
Go to the source code of this file.
◆ url_entry_sort()
| static int url_entry_sort |
( |
const void * |
A, |
|
|
const void * |
B |
|
) |
| |
|
static |
◆ urnFindMinRtt()
◆ urnHandleReply()
Definition at line 230 of file urn.cc.
References UrnState::ale, Store::ParsingBuffer::appended(), SBuf::appendf(), store_client::atEof(), MemObject::baseReply(), StoreEntry::buffer(), url_entry::cached, StoreEntry::complete(), Store::ParsingBuffer::contentSize(), StoreIOBuffer::data, debugs, EBIT_TEST, UrnState::entry, ENTRY_ABORTED, ERR_URN_RESOLVE, StoreIOBuffer::error, errorAppendEntry(), StoreEntry::flags, StoreIOBuffer::flags, url_entry::flags, getMyHostname(), RefCount< C >::getRaw(), StoreEntry::isAccepting(), SBuf::length(), StoreIOBuffer::length, Http::LOCATION, StoreEntry::mem(), HttpRequest::method, UrnState::parsingBuffer, StoreIOBuffer::positionAt(), StoreEntry::replaceHttpReply(), UrnState::request, url_entry::rtt, safe_free, UrnState::sc, Http::scFound, Http::scNotFound, Http::scOkay, HttpReply::setHeaders(), Store::ParsingBuffer::space(), squid_curtime, storeClientCopy(), Store::ParsingBuffer::toSBuf(), ErrorState::url, StoreEntry::url(), url_entry::url, url_entry_sort(), UrnState::urlres_e, urnFindMinRtt(), urnHandleReply, urnParseReply(), visible_appname_string, and xstrdup.
◆ urnParseReply()
Definition at line 365 of file urn.cc.
References AnyP::Uri::absolute(), SBuf::c_str(), url_entry::cached, crlf, debugs, url_entry::flags, AnyP::Uri::host(), url_entry::host, netdbHostRtt(), netdbPingSite(), AnyP::Uri::parse(), url_entry::rtt, safe_free, SBufToCstring(), storeGetPublic(), url_entry::url, xcalloc(), xfree, xisspace, and xstrdup.
Referenced by urnHandleReply().
◆ urnStart()
◆ crlf
| const char* const crlf = "\r\n" |
|
static |
◆ urnHandleReply