mirror of
https://github.com/coturn/coturn.git
synced 2025-10-31 23:11:28 +01:00
Allow RFC6062 TCP relay data to look like TLS; fixes #605
This commit is contained in:
parent
ae2ee1f4e4
commit
a83bffd942
@ -3374,7 +3374,7 @@ int register_callback_on_ioa_socket(ioa_engine_handle e, ioa_socket_handle s, in
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
#if TLS_SUPPORTED
|
#if TLS_SUPPORTED
|
||||||
if(check_tentative_tls(s->fd)) {
|
if((s->sat != TCP_CLIENT_DATA_SOCKET) && (s->sat != TCP_RELAY_DATA_SOCKET) && check_tentative_tls(s->fd)) {
|
||||||
s->tobeclosed = 1;
|
s->tobeclosed = 1;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user