1
0
mirror of https://github.com/coturn/coturn.git synced 2025-11-03 16:31:22 +01:00
This commit is contained in:
mom040267 2014-10-06 06:15:53 +00:00
parent b0a4a5389a
commit c0fc90a468

View File

@ -1543,7 +1543,7 @@ static int handle_turn_refresh(turn_turnserver *server,
} else { } else {
ts_ur_super_session *orig_ss = get_session_from_mobile_map(server, mid); ts_ur_super_session *orig_ss = get_session_from_mobile_map(server, mid);
if(!orig_ss) { if(!orig_ss || orig_ss->to_be_closed || ioa_socket_tobeclosed(orig_ss->client_socket)) {
*err_code = 404; *err_code = 404;
*reason = (const u08bits *)"Allocation not found"; *reason = (const u08bits *)"Allocation not found";
} else if(orig_ss == ss) { } else if(orig_ss == ss) {