mirror of
https://github.com/coturn/coturn.git
synced 2025-11-01 15:31:00 +01:00
Merge pull request #643 from tupelo-schneck/master
Allow RFC6062 TCP relay data to look like TLS; fixes #605
This commit is contained in:
commit
75309e5c2d
@ -3374,7 +3374,7 @@ int register_callback_on_ioa_socket(ioa_engine_handle e, ioa_socket_handle s, in
|
||||
}
|
||||
} else {
|
||||
#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;
|
||||
return -1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user