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

Method getKeepAliveTimeout

base/poco/Net/src/HTTPMessage.cpp:215–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215int HTTPMessage::getKeepAliveTimeout() const
216{
217 const std::string& ka_header = get(HTTPMessage::CONNECTION_KEEP_ALIVE, HTTPMessage::EMPTY);
218 static const std::string_view timeout_param = "timeout=";
219 return parseFromHeaderValues(ka_header, timeout_param);
220}
221
222
223int HTTPMessage::getKeepAliveMaxRequests() const

Callers 9

runMethod · 0.45
assignMethod · 0.45
HTTPServerSessionMethod · 0.45
getTimeoutsFunction · 0.45
operator()Method · 0.45
handleRequestMethod · 0.45
TEST_FFunction · 0.45

Calls 2

parseFromHeaderValuesFunction · 0.85
getFunction · 0.50

Tested by 2

handleRequestMethod · 0.36
TEST_FFunction · 0.36