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 "err_detail_type.h"
#include "globals.h"
#include "gopher.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)
 
static const Ip::AddressFindListeningPortAddressInAddress (const Ip::Address *ip)
 a helper for validating FindListeningPortAddress()-found address candidates More...
 
static const Ip::AddressFindListeningPortAddressInPort (const AnyP::PortCfgPointer &port)
 a helper for handling PortCfg cases of FindListeningPortAddress() More...
 
static const Ip::AddressFindListeningPortAddressInConn (const Comm::ConnectionPointer &conn)
 a helper for handling Connection cases of FindListeningPortAddress() More...
 
const Ip::AddressFindListeningPortAddress (const HttpRequest *callerRequest, const AccessLogEntry *ale)
 

Function Documentation

◆ FindListeningPortAddress()

const Ip::Address* FindListeningPortAddress ( const HttpRequest ,
const AccessLogEntry  
)
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 803 of file HttpRequest.cc.

References AccessLogEntry::cache, FindListeningPortAddressInConn(), FindListeningPortAddressInPort(), AccessLogEntry::CacheDetails::port, AccessLogEntry::request, request(), and AccessLogEntry::tcpClient.

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

◆ FindListeningPortAddressInAddress()

static const Ip::Address* FindListeningPortAddressInAddress ( const Ip::Address ip)
static

◆ FindListeningPortAddressInConn()

static const Ip::Address* FindListeningPortAddressInConn ( const Comm::ConnectionPointer conn)
static

Definition at line 797 of file HttpRequest.cc.

References conn, and FindListeningPortAddressInAddress().

Referenced by FindListeningPortAddress().

◆ FindListeningPortAddressInPort()

static const Ip::Address* FindListeningPortAddressInPort ( const AnyP::PortCfgPointer port)
static

Definition at line 790 of file HttpRequest.cc.

References FindListeningPortAddressInAddress(), and port.

Referenced by FindListeningPortAddress().

◆ httpRequestPack()

void httpRequestPack ( void *  obj,
Packable p 
)

Definition at line 364 of file HttpRequest.cc.

References request().

Referenced by clientInterpretRequestHeaders(), and internalStart().

◆ UpdateRequestNotes()

void UpdateRequestNotes ( ConnStateData csd,
HttpRequest request,
NotePairs const &  notes 
)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors