stub_client_side.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#include "squid.h"
10#include "client_side_request.h"
11#include "http/Stream.h"
12
13#define STUB_API "client_side.cc"
14#include "tests/STUB.h"
15
16#include "client_side.h"
18void ConnStateData::readNextRequest() STUB
19bool ConnStateData::isOpen() const STUB_RETVAL(false)
20void ConnStateData::kick() STUB
21void ConnStateData::sendControlMsg(HttpControlMsg) STUB
22int64_t ConnStateData::mayNeedToReadMoreBody() const STUB_RETVAL(0)
23#if USE_AUTH
25#endif
27void ConnStateData::stopReceiving(const char *) STUB
28void ConnStateData::stopSending(const char *) STUB
29void ConnStateData::expectNoForwarding() STUB
30void ConnStateData::noteMoreBodySpaceAvailable(BodyPipe::Pointer) STUB
31void ConnStateData::noteBodyConsumerAborted(BodyPipe::Pointer) STUB
32bool ConnStateData::handleReadData() STUB_RETVAL(false)
33bool ConnStateData::handleRequestBodyData() STUB_RETVAL(false)
34void ConnStateData::pinBusyConnection(const Comm::ConnectionPointer &, const HttpRequest::Pointer &) STUB
35void ConnStateData::notePinnedConnectionBecameIdle(PinnedIdleContext) STUB
36void ConnStateData::unpinConnection(const bool) STUB
37Comm::ConnectionPointer ConnStateData::BorrowPinnedConnection(HttpRequest *, const AccessLogEntryPointer &) STUB_RETVAL(nullptr)
38void ConnStateData::clientPinnedConnectionClosed(const CommCloseCbParams &) STUB
39void ConnStateData::connStateClosed(const CommCloseCbParams &) STUB
40void ConnStateData::requestTimeout(const CommTimeoutCbParams &) STUB
41void ConnStateData::swanSong() STUB
42void ConnStateData::quitAfterError(HttpRequest *) STUB
43NotePairs::Pointer ConnStateData::notes() STUB_RETVAL(NotePairs::Pointer())
44void ConnStateData::fillConnectionLevelDetails(ACLFilledChecklist &) const STUB
45#if USE_OPENSSL
46void ConnStateData::httpsPeeked(PinnedIdleContext) STUB
48void ConnStateData::getSslContextDone(Security::ContextPointer &) STUB
49void ConnStateData::sslCrtdHandleReplyWrapper(void *, const Helper::Reply &) STUB
50void ConnStateData::sslCrtdHandleReply(const Helper::Reply &) STUB
51void ConnStateData::switchToHttps(ClientHttpRequest *, Ssl::BumpMode) STUB
52void ConnStateData::buildSslCertGenerationParams(Ssl::CertificateProperties &) STUB
53bool ConnStateData::serveDelayedError(Http::Stream *) STUB_RETVAL(false)
54#endif
55
56const char *findTrailingHTTPVersion(const char *, const char *) STUB_RETVAL(nullptr)
59void httpRequestFree(void *) STUB
63
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
void setAuth(const Auth::UserRequest::Pointer &aur, const char *cause)
Definition: client_side.cc:518
void getSslContextStart()
Start to create dynamic Security::ContextPointer for host or uses static port SSL context.
void httpsPeeked(PinnedIdleContext pic)
called by FwdState when it is done bumping the server
void parseRequests()
bool transparent() const
bundles HTTP 1xx reply and the "successfully forwarded" callback
Definition: MemBuf.h:24
const char * findTrailingHTTPVersion(const char *uriAndHTTPVersion, const char *end)
void clientOpenListenSockets(void)
void httpRequestFree(void *data)
Definition: client_side.cc:499
void clientPackTermBound(String boundary, MemBuf *mb)
put terminating boundary for multiparts to the buffer
Definition: client_side.cc:726
int varyEvaluateMatch(StoreEntry *entry, HttpRequest *request)
void clientAclChecklistFill(ACLFilledChecklist &checklist, ClientHttpRequest *http)
void clientPackRangeHdr(const HttpReplyPointer &rep, const HttpHdrRangeSpec *spec, String boundary, MemBuf *mb)
append a "part" HTTP header (as in a multi-part/range reply) to the buffer
Definition: client_side.cc:733
bool isOpen(const int fd)
Definition: comm.cc:88
BumpMode
Definition: support.h:126
Abstraction layer for TCP, UDP, TLS, UDS and filedescriptor sockets.
Definition: AcceptLimiter.h:17
RefCount< Comm::Connection > ConnectionPointer
Definition: forward.h:28
helper protocol primitives
Definition: helper.h:39
Definition: forward.h:18
Network/connection security abstraction layer.
Definition: Connection.h:34
std::shared_ptr< SSL_CTX > ContextPointer
Definition: Context.h:29
Definition: Xaction.cc:40
int unsigned int
Definition: stub_fd.cc:19

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors