Increment the session's reference counter.
| 1529 | |
| 1530 | /// Increment the session's reference counter. |
| 1531 | inline void MarkSessionActive(const std::shared_ptr<SessionState>& session) { |
| 1532 | std::lock_guard<std::mutex> l(session->lock); |
| 1533 | ++session->ref_count; |
| 1534 | } |
| 1535 | |
| 1536 | /// Associate the current connection context with the given session in |
| 1537 | /// 'connection_to_sessions_map_' and 'SessionState::connections'. |
no outgoing calls
no test coverage detected