HttpHeader.cc File Reference
#include "squid.h"
#include "base/CharacterSet.h"
#include "base/EnumIterator.h"
#include "base64.h"
#include "globals.h"
#include "http/ContentLengthInterpreter.h"
#include "HttpHdrCc.h"
#include "HttpHdrContRange.h"
#include "HttpHdrScTarget.h"
#include "HttpHeader.h"
#include "HttpHeaderFieldInfo.h"
#include "HttpHeaderStat.h"
#include "HttpHeaderTools.h"
#include "MemBuf.h"
#include "mgr/Registration.h"
#include "mime_header.h"
#include "profiler/Profiler.h"
#include "rfc1123.h"
#include "sbuf/StringConvert.h"
#include "SquidConfig.h"
#include "StatHist.h"
#include "Store.h"
#include "StrList.h"
#include "TimeOrTag.h"
#include "util.h"
#include <algorithm>
Include dependency graph for HttpHeader.cc:

Go to the source code of this file.

Functions

std::vector< HttpHeaderFieldStatheaderStatsTable (Http::HdrType::enumEnd_)
 
static void httpHeaderNoteParsedEntry (Http::HdrType id, String const &value, bool error)
 
static void httpHeaderStatDump (const HttpHeaderStat *hs, StoreEntry *e)
 
static void httpHeaderStoreReport (StoreEntry *e)
 
static void httpHeaderRegisterWithCacheManager (void)
 
void httpHeaderInitModule (void)
 
void httpHeaderFieldStatDumper (StoreEntry *sentry, int, double val, double, int count)
 
static void httpHeaderFldsPerHdrDumper (StoreEntry *sentry, int idx, double val, double, int count)
 

Variables

static HttpHeaderMask RequestHeadersMask
 
static HttpHeaderMask ReplyHeadersMask
 
static HttpHeaderStat HttpHeaderStats []
 
static int HttpHeaderStatCount = countof(HttpHeaderStats)
 
static int HeaderEntryParsedCount = 0
 
const HttpHeaderStatdump_stat = NULL
 

Function Documentation

◆ headerStatsTable()

◆ httpHeaderFieldStatDumper()

◆ httpHeaderFldsPerHdrDumper()

static void httpHeaderFldsPerHdrDumper ( StoreEntry sentry,
int  idx,
double  val,
double  ,
int  count 
)
static

Definition at line 1560 of file HttpHeader.cc.

References HttpHeaderStat::destroyedCount, storeAppendPrintf(), and xpercent().

Referenced by httpHeaderStatDump().

◆ httpHeaderInitModule()

void httpHeaderInitModule ( void  )

◆ httpHeaderNoteParsedEntry()

◆ httpHeaderRegisterWithCacheManager()

static void httpHeaderRegisterWithCacheManager ( void  )
static

Definition at line 111 of file HttpHeader.cc.

References httpHeaderStoreReport(), and Mgr::RegisterAction().

Referenced by httpHeaderInitModule().

◆ httpHeaderStatDump()

◆ httpHeaderStoreReport()

Variable Documentation

◆ dump_stat

◆ HeaderEntryParsedCount

int HeaderEntryParsedCount = 0
static

Definition at line 91 of file HttpHeader.cc.

Referenced by httpHeaderStoreReport(), and HttpHeaderEntry::parse().

◆ HttpHeaderStatCount

int HttpHeaderStatCount = countof(HttpHeaderStats)
static

Definition at line 89 of file HttpHeader.cc.

Referenced by httpHeaderInitModule(), and httpHeaderStoreReport().

◆ HttpHeaderStats

HttpHeaderStat HttpHeaderStats[]
static
Initial value:
= {
HttpHeaderStat( "all", NULL),
HttpHeaderStat( "HTCP reply", &ReplyHeadersMask),
}
static HttpHeaderMask ReplyHeadersMask
Definition: HttpHeader.cc:73
HTTP per header statistics.
static HttpHeaderMask RequestHeadersMask
Definition: HttpHeader.cc:70
#define NULL
Definition: types.h:166

Definition at line 77 of file HttpHeader.cc.

◆ ReplyHeadersMask

HttpHeaderMask ReplyHeadersMask
static

Definition at line 73 of file HttpHeader.cc.

Referenced by httpHeaderInitModule().

◆ RequestHeadersMask

HttpHeaderMask RequestHeadersMask
static

Definition at line 70 of file HttpHeader.cc.

Referenced by httpHeaderInitModule().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors