HttpTunneler.h
Go to the documentation of this file.
39 Tunneler(const Comm::ConnectionPointer &, const HttpRequestPointer &, const AsyncCallback<Answer> &, time_t timeout, const AccessLogEntryPointer &);
Definition: AsyncJob.h:31
Definition: HttpTunnelerAnswer.h:29
void handleTimeout(const CommTimeoutCbParams &)
The connection read timeout callback handler.
Definition: HttpTunneler.cc:117
void error(char *format,...)
a smart AsyncCall pointer for delivery of future results
Definition: AsyncCallbacks.h:31
void countFailingConnection()
updates connection usage history before the connection is closed
Definition: HttpTunneler.cc:382
Definition: forward.h:17
Definition: HttpTunneler.h:32
Definition: AccessLogEntry.h:40
const char * status() const override
internal cleanup; do not call directly
Definition: HttpTunneler.cc:440
void bailOnResponseError(const char *error, HttpReply *)
Definition: HttpTunneler.cc:341
void handleReadyRead(const CommIoCbParams &)
Called when we read [a part of] CONNECT response from the peer.
Definition: HttpTunneler.cc:201
Definition: CommCalls.h:113
void handleResponse(const bool eof)
Parses [possibly incomplete] CONNECT response and reacts to it.
Definition: HttpTunneler.cc:274
Tunneler(const Comm::ConnectionPointer &, const HttpRequestPointer &, const AsyncCallback< Answer > &, time_t timeout, const AccessLogEntryPointer &)
Definition: HttpTunneler.cc:29
void handleConnectionClosure(const CommCloseCbParams &)
Definition: HttpTunneler.cc:89
Definition: HttpReply.h:24
void callBack()
a bailWith(), sendSuccess() helper: sends results to the initiator
Definition: HttpTunneler.cc:416
CBDATA_CHILD(Tunneler)
void handleWrittenRequest(const CommIoCbParams &)
Called when we are done writing a CONNECT request header to a peer.
Definition: HttpTunneler.cc:176
Definition: DelayId.h:21
Definition: CommCalls.h:133
Definition: CommCalls.h:127
Definition: errorpage.h:88
Tunneler & operator=(const Tunneler &)=delete
bool noteFwdPconnUse
hack: whether the connection requires fwdPconnPool->noteUses()
Definition: HttpTunneler.h:48
Http1::ResponseParserPointer hp
Parser being used at present to parse the HTTP peer response.
Definition: HttpTunneler.h:101
void watchForClosures()
make sure we quit if/when the connection is gone
Definition: HttpTunneler.cc:102
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products