2 #include "client_side.h"
4 #define STUB_API "client_side.cc"
5 #include "tests/STUB.h"
7 //ClientSocketContext::ClientSocketContext(const ConnectionPointer&, ClientHttpRequest*) STUB
8 //ClientSocketContext::~ClientSocketContext() STUB
9 bool ClientSocketContext::startOfOutput() const STUB_RETVAL(false)
10 void ClientSocketContext::writeComplete(const Comm::ConnectionPointer
&conn
, char *bufnotused
, size_t size
, Comm::Flag errflag
) STUB
11 void ClientSocketContext::keepaliveNextRequest() STUB
12 void ClientSocketContext::pullData() STUB
13 int64_t ClientSocketContext::getNextRangeOffset() const STUB_RETVAL(0)
14 bool ClientSocketContext::canPackMoreRanges() const STUB_RETVAL(false)
15 clientStream_status_t
ClientSocketContext::socketState() STUB_RETVAL(STREAM_NONE
)
16 void ClientSocketContext::sendBody(HttpReply
* rep
, StoreIOBuffer bodyData
) STUB
17 void ClientSocketContext::sendStartOfMessage(HttpReply
* rep
, StoreIOBuffer bodyData
) STUB
18 size_t ClientSocketContext::lengthToSend(Range
<int64_t> const &available
) STUB_RETVAL(0)
19 void ClientSocketContext::noteSentBodyBytes(size_t) STUB
20 void ClientSocketContext::buildRangeHeader(HttpReply
* rep
) STUB
21 clientStreamNode
* ClientSocketContext::getTail() const STUB_RETVAL(NULL
)
22 clientStreamNode
* ClientSocketContext::getClientReplyContext() const STUB_RETVAL(NULL
)
23 void ClientSocketContext::connIsFinished() STUB
24 void ClientSocketContext::removeFromConnectionList(ConnStateData
* conn
) STUB
25 void ClientSocketContext::deferRecipientForLater(clientStreamNode
* node
, HttpReply
* rep
, StoreIOBuffer receivedData
) STUB
26 bool ClientSocketContext::multipartRangeRequest() const STUB_RETVAL(false)
27 void ClientSocketContext::registerWithConn() STUB
28 void ClientSocketContext::noteIoError(const int xerrno
) STUB
29 void ClientSocketContext::writeControlMsg(HttpControlMsg
&msg
) STUB
31 void ConnStateData::readSomeData() STUB
32 bool ConnStateData::areAllContextsForThisConnection() const STUB_RETVAL(false)
33 void ConnStateData::freeAllContexts() STUB
34 void ConnStateData::notifyAllContexts(const int xerrno
) STUB
35 bool ConnStateData::clientParseRequests() STUB_RETVAL(false)
36 void ConnStateData::readNextRequest() STUB
37 void ConnStateData::addContextToQueue(ClientSocketContext
* context
) STUB
38 int ConnStateData::getConcurrentRequestCount() const STUB_RETVAL(0)
39 bool ConnStateData::isOpen() const STUB_RETVAL(false)
40 void ConnStateData::sendControlMsg(HttpControlMsg msg
) STUB
41 int64_t ConnStateData::mayNeedToReadMoreBody() const STUB_RETVAL(0)
43 void ConnStateData::setAuth(const Auth::UserRequest::Pointer
&aur
, const char *cause
) STUB
45 bool ConnStateData::transparent() const STUB_RETVAL(false)
46 bool ConnStateData::reading() const STUB_RETVAL(false)
47 void ConnStateData::stopReading() STUB
48 void ConnStateData::stopReceiving(const char *error
) STUB
49 void ConnStateData::stopSending(const char *error
) STUB
50 void ConnStateData::expectNoForwarding() STUB
51 void ConnStateData::noteMoreBodySpaceAvailable(BodyPipe::Pointer
) STUB
52 void ConnStateData::noteBodyConsumerAborted(BodyPipe::Pointer
) STUB
53 bool ConnStateData::handleReadData() STUB_RETVAL(false)
54 bool ConnStateData::handleRequestBodyData() STUB_RETVAL(false)
55 void ConnStateData::pinConnection(const Comm::ConnectionPointer
&pinServerConn
, HttpRequest
*request
, CachePeer
*peer
, bool auth
, bool monitor
) STUB
56 void ConnStateData::unpinConnection(const bool andClose
) STUB
57 const Comm::ConnectionPointer
ConnStateData::validatePinnedConnection(HttpRequest
*request
, const CachePeer
*peer
) STUB_RETVAL(NULL
)
58 void ConnStateData::clientPinnedConnectionClosed(const CommCloseCbParams
&io
) STUB
59 void ConnStateData::clientReadRequest(const CommIoCbParams
&io
) STUB
60 void ConnStateData::connStateClosed(const CommCloseCbParams
&io
) STUB
61 void ConnStateData::requestTimeout(const CommTimeoutCbParams
¶ms
) STUB
62 void ConnStateData::swanSong() STUB
63 void ConnStateData::quitAfterError(HttpRequest
*request
) STUB
65 void ConnStateData::httpsPeeked(Comm::ConnectionPointer serverConnection
) STUB
66 void ConnStateData::getSslContextStart() STUB
67 void ConnStateData::getSslContextDone(SSL_CTX
* sslContext
, bool isNew
) STUB
68 void ConnStateData::sslCrtdHandleReplyWrapper(void *data
, const HelperReply
&reply
) STUB
69 void ConnStateData::sslCrtdHandleReply(const HelperReply
&reply
) STUB
70 void ConnStateData::switchToHttps(HttpRequest
*request
, Ssl::BumpMode bumpServerMode
) STUB
71 void ConnStateData::buildSslCertGenerationParams(Ssl::CertificateProperties
&certProperties
) STUB
72 bool ConnStateData::serveDelayedError(ClientSocketContext
*context
) STUB_RETVAL(false)
75 bool ConnStateData::In::maybeMakeSpaceAvailable() STUB_RETVAL(false)
77 void setLogUri(ClientHttpRequest
* http
, char const *uri
, bool cleanUrl
) STUB
78 const char *findTrailingHTTPVersion(const char *uriAndHTTPVersion
, const char *end
) STUB_RETVAL(NULL
)
79 int varyEvaluateMatch(StoreEntry
* entry
, HttpRequest
* req
) STUB_RETVAL(0)
80 void clientOpenListenSockets(void) STUB
81 void clientHttpConnectionsClose(void) STUB
82 void httpRequestFree(void *) STUB