| 462 | } |
| 463 | |
| 464 | bool Server::LookupSession(const std::string& session_id, |
| 465 | SessionHandle* session_handle) { |
| 466 | LOG(TRACE) << "Entering Server::LookupSession"; |
| 467 | |
| 468 | SessionMap::iterator it = this->sessions_.find(session_id); |
| 469 | if (it == this->sessions_.end()) { |
| 470 | return false; |
| 471 | } |
| 472 | *session_handle = it->second; |
| 473 | return true; |
| 474 | } |
| 475 | |
| 476 | int Server::SendResponseToClient(struct mg_connection* conn, |
| 477 | const struct mg_request_info* request_info, |
no test coverage detected