urn.cc File Reference
#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"
Include dependency graph for urn.cc:

Go to the source code of this file.

Classes

class  UrnState
 
struct  url_entry
 

Functions

static url_entryurnParseReply (const SBuf &, const HttpRequestMethod &)
 
static url_entryurnFindMinRtt (url_entry *urls, const HttpRequestMethod &, int *rtt_ret)
 
void urnStart (HttpRequest *r, StoreEntry *e, const AccessLogEntryPointer &ale)
 
static int url_entry_sort (const void *A, const void *B)
 
static void urnHandleReply (void *data, StoreIOBuffer result)
 

Variables

static STCB urnHandleReply
 
static const char *const crlf = "\r\n"
 

Function Documentation

◆ url_entry_sort()

static int url_entry_sort ( const void *  A,
const void *  B 
)
static

Definition at line 211 of file urn.cc.

References A, B, and url_entry::rtt.

Referenced by urnHandleReply().

◆ urnFindMinRtt()

static url_entry * urnFindMinRtt ( url_entry urls,
const HttpRequestMethod ,
int rtt_ret 
)
static

Definition at line 93 of file urn.cc.

References assert, DBG_IMPORTANT, debugs, url_entry::host, url_entry::rtt, and url_entry::url.

Referenced by urnHandleReply().

◆ urnHandleReply()

◆ urnParseReply()

◆ urnStart()

void urnStart ( HttpRequest r,
StoreEntry e,
const AccessLogEntryPointer ale 
)

Definition at line 204 of file urn.cc.

Referenced by FwdState::Start().

Variable Documentation

◆ crlf

const char* const crlf = "\r\n"
static

Definition at line 72 of file urn.cc.

Referenced by urnParseReply().

◆ urnHandleReply

STCB urnHandleReply
static

Definition at line 70 of file urn.cc.

Referenced by UrnState::start(), and urnHandleReply().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors