MCPcopy Create free account
hub / github.com/acl-dev/acl / doRun

Method doRun

lib_acl_cpp/src/http/HttpServlet.cpp:289–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289bool HttpServlet::doRun(void)
290{
291 bool ret = start();
292 if (req_ == NULL || res_ == NULL) {
293 return ret;
294 }
295 if (!ret) {
296 return false;
297 }
298
299 // ���ظ��ϲ�����ߣ�true ��ʾ�������ֳ����ӣ������ʾ��Ͽ�����
300 return req_->isKeepAlive()
301 && res_->getHttpHeader().get_keep_alive();
302}
303
304bool HttpServlet::doRun(session& session, socket_stream* stream /* = NULL */)
305{

Callers 15

on_acceptMethod · 0.45
http_serverFunction · 0.45
http_serverFunction · 0.45
http_serverFunction · 0.45
http_serverFunction · 0.45
on_acceptMethod · 0.45
runMethod · 0.45
thread_on_readMethod · 0.45
do_runFunction · 0.45
thread_on_readMethod · 0.45
thread_on_readMethod · 0.45
thread_on_readMethod · 0.45

Calls 2

isKeepAliveMethod · 0.80
startFunction · 0.50

Tested by

no test coverage detected