working on session cancellation

This commit is contained in:
mom040267 2014-07-28 07:07:27 +00:00
parent cb8027b3a5
commit 8cb9a75dbd

View File

@ -720,8 +720,8 @@ void turn_cancel_session(turn_turnserver *server, turnsession_id sid)
if(server) {
ts_ur_super_session* ts = get_session_from_map(server, sid);
if(ts) {
ts->to_be_closed = 1;
TURN_LOG_FUNC(TURN_LOG_LEVEL_INFO, "Session %018llu to be forcefully canceled\n",(unsigned long long)sid);
shutdown_client_connection(server, ts, 0, "Forceful shutdown");
}
}
}