MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / HTTPServerSession

Method HTTPServerSession

base/poco/Net/src/HTTPServerSession.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22HTTPServerSession::HTTPServerSession(const StreamSocket & socket, HTTPServerParams::Ptr pParams)
23 : HTTPSession(socket, pParams->getKeepAlive())
24 , _firstRequest(true)
25 , _keepAliveTimeout(pParams->getKeepAliveTimeout())
26 , _maxKeepAliveRequests(pParams->getMaxKeepAliveRequests())
27{
28 setTimeout(pParams->getTimeout());
29}
30
31
32HTTPServerSession::~HTTPServerSession()

Callers

nothing calls this directly

Calls 4

getKeepAliveMethod · 0.45
getKeepAliveTimeoutMethod · 0.45
getTimeoutMethod · 0.45

Tested by

no test coverage detected