HttpRequest.cc File Reference
#include "squid.h"
#include "AccessLogEntry.h"
#include "acl/AclSizeLimit.h"
#include "acl/FilledChecklist.h"
#include "CachePeer.h"
#include "client_side.h"
#include "client_side_request.h"
#include "dns/LookupDetails.h"
#include "Downloader.h"
#include "error/Detail.h"
#include "globals.h"
#include "http.h"
#include "http/ContentLengthInterpreter.h"
#include "http/one/RequestParser.h"
#include "http/Stream.h"
#include "HttpHdrCc.h"
#include "HttpHeaderRange.h"
#include "HttpRequest.h"
#include "log/Config.h"
#include "MemBuf.h"
#include "sbuf/StringConvert.h"
#include "SquidConfig.h"
#include "Store.h"
#include "auth/UserRequest.h"
#include "adaptation/icap/icap_log.h"
Include dependency graph for HttpRequest.cc:

Go to the source code of this file.

Functions

void httpRequestPack (void *obj, Packable *p)
 
void UpdateRequestNotes (ConnStateData *csd, HttpRequest &request, NotePairs const &helperNotes)
 
template<typename Filter >
static const Ip::AddressFindGoodListeningPortAddressInPort (const AnyP::PortCfgPointer &port, const Filter isGood)
 a helper for handling PortCfg cases of FindListeningPortAddress() More...
 
template<typename Filter >
static const Ip::AddressFindGoodListeningPortAddressInConn (const Comm::ConnectionPointer &conn, const Filter isGood)
 a helper for handling Connection cases of FindListeningPortAddress() More...
 
template<typename Filter >
const Ip::AddressFindGoodListeningPortAddress (const HttpRequest *callerRequest, const AccessLogEntry *ale, const Filter filter)
 
const Ip::AddressFindListeningPortAddress (const HttpRequest *callerRequest, const AccessLogEntry *ale)
 
unsigned short FindListeningPortNumber (const HttpRequest *callerRequest, const AccessLogEntry *ale)
 

Function Documentation

◆ FindGoodListeningPortAddress()

◆ FindGoodListeningPortAddressInConn()

template<typename Filter >
static const Ip::Address * FindGoodListeningPortAddressInConn ( const Comm::ConnectionPointer conn,
const Filter  isGood 
)
static

Definition at line 833 of file HttpRequest.cc.

References conn.

Referenced by FindGoodListeningPortAddress().

◆ FindGoodListeningPortAddressInPort()

template<typename Filter >
static const Ip::Address * FindGoodListeningPortAddressInPort ( const AnyP::PortCfgPointer port,
const Filter  isGood 
)
static

Definition at line 825 of file HttpRequest.cc.

References port.

Referenced by FindGoodListeningPortAddress().

◆ FindListeningPortAddress()

const Ip::Address * FindListeningPortAddress ( const HttpRequest callerRequest,
const AccessLogEntry ale 
)
Returns
listening/*_port address used by the client connection (or nil) nil parameter(s) indicate missing caller information and are handled safely

Definition at line 867 of file HttpRequest.cc.

References FindGoodListeningPortAddress(), and Ip::Address::isAnyAddr().

Referenced by Format::Format::assemble(), and ErrorState::compileLegacyCode().

◆ FindListeningPortNumber()

unsigned short FindListeningPortNumber ( const HttpRequest callerRequest,
const AccessLogEntry ale 
)
Returns
listening/*_port port number used by the client connection (or zero) nil parameter(s) indicate missing caller information and are handled safely

Definition at line 876 of file HttpRequest.cc.

References FindGoodListeningPortAddress(), and Ip::Address::port().

Referenced by Format::Format::assemble().

◆ httpRequestPack()

void httpRequestPack ( void *  obj,
Packable p 
)

Definition at line 361 of file HttpRequest.cc.

References HttpRequest::pack().

Referenced by clientInterpretRequestHeaders(), and internalStart().

◆ UpdateRequestNotes()

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors