stub_client_side.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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"
18 void ConnStateData::readNextRequest() STUB
20 void ConnStateData::kick() STUB
21 void ConnStateData::sendControlMsg(HttpControlMsg) STUB
22 int64_t ConnStateData::mayNeedToReadMoreBody() const STUB_RETVAL(0)
23 #if USE_AUTH
24 void ConnStateData::setAuth(const Auth::UserRequest::Pointer &, const char *) STUB
25 #endif
27 void ConnStateData::stopReceiving(const char *) STUB
28 void ConnStateData::stopSending(const char *) STUB
29 void ConnStateData::expectNoForwarding() STUB
30 void ConnStateData::noteMoreBodySpaceAvailable(BodyPipe::Pointer) STUB
31 void ConnStateData::noteBodyConsumerAborted(BodyPipe::Pointer) STUB
32 bool ConnStateData::handleReadData() STUB_RETVAL(false)
33 bool ConnStateData::handleRequestBodyData() STUB_RETVAL(false)
34 void ConnStateData::pinBusyConnection(const Comm::ConnectionPointer &, const HttpRequest::Pointer &) STUB
35 void ConnStateData::notePinnedConnectionBecameIdle(PinnedIdleContext) STUB
36 void ConnStateData::unpinConnection(const bool) STUB
37 const Comm::ConnectionPointer ConnStateData::validatePinnedConnection(HttpRequest *, const CachePeer *) STUB_RETVAL(NULL)
38 void ConnStateData::clientPinnedConnectionClosed(const CommCloseCbParams &) STUB
39 void ConnStateData::connStateClosed(const CommCloseCbParams &) STUB
40 void ConnStateData::requestTimeout(const CommTimeoutCbParams &) STUB
41 void ConnStateData::swanSong() STUB
42 void ConnStateData::quitAfterError(HttpRequest *) STUB
43 NotePairs::Pointer ConnStateData::notes() STUB_RETVAL(NotePairs::Pointer())
44 #if USE_OPENSSL
45 void ConnStateData::httpsPeeked(PinnedIdleContext) STUB
46 void ConnStateData::getSslContextStart() STUB
47 void ConnStateData::getSslContextDone(Security::ContextPointer &) STUB
48 void ConnStateData::sslCrtdHandleReplyWrapper(void *, const Helper::Reply &) STUB
49 void ConnStateData::sslCrtdHandleReply(const Helper::Reply &) STUB
50 void ConnStateData::switchToHttps(HttpRequest *, Ssl::BumpMode) STUB
51 void ConnStateData::buildSslCertGenerationParams(Ssl::CertificateProperties &) STUB
52 bool ConnStateData::serveDelayedError(Http::Stream *) STUB_RETVAL(false)
53 #endif
54 
55 void setLogUri(ClientHttpRequest *, char const *, bool) STUB
56 const char *findTrailingHTTPVersion(const char *, const char *) STUB_RETVAL(NULL)
57 int varyEvaluateMatch(StoreEntry *, HttpRequest *) STUB_RETVAL(0)
59 void clientHttpConnectionsClose(void) STUB
60 void httpRequestFree(void *) STUB
61 void clientPackRangeHdr(const HttpReplyPointer &, const HttpHdrRangeSpec *, String, MemBuf *) STUB
62 void clientPackTermBound(String, MemBuf *) STUB
63 
void setAuth(const Auth::UserRequest::Pointer &aur, const char *cause)
Definition: client_side.cc:503
bool isOpen(const int fd)
Definition: comm.cc:86
bool transparent() const
void setLogUri(ClientHttpRequest *http, char const *uri, bool cleanUrl)
const char * findTrailingHTTPVersion(const char *uriAndHTTPVersion, const char *end)
#define STUB_RETVAL(x)
Definition: STUB.h:41
struct ClientInfo::Protocol Http
int varyEvaluateMatch(StoreEntry *entry, HttpRequest *request)
#define STUB
macro to stub a void function.
Definition: STUB.h:33
bundles HTTP 1xx reply and the "successfully forwarded" callback
std::shared_ptr< SSL_CTX > ContextPointer
Definition: Context.h:28
bool clientParseRequests()
Traffic parsing.
void clientOpenListenSockets(void)
void httpsPeeked(PinnedIdleContext pic)
called by FwdState when it is done bumping the server
Definition: MemBuf.h:23
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:701
void clientPackTermBound(String boundary, MemBuf *mb)
put terminating boundary for multiparts to the buffer
Definition: client_side.cc:694
BumpMode
Definition: support.h:125
void httpRequestFree(void *data)
Definition: client_side.cc:488
#define NULL
Definition: types.h:166
#define false
Definition: GnuRegex.c:233

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors