Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions turn/src/client/client_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async fn create_listening_test_client_with_stun_serv() -> Result<Client> {
let conn = UdpSocket::bind("0.0.0.0:0").await?;

let c = Client::new(ClientConfig {
stun_serv_addr: "stun1.l.google.com:19302".to_owned(),
stun_serv_addr: "stun.cloudflare.com:3478".to_owned(),
turn_serv_addr: String::new(),
username: String::new(),
password: String::new(),
Expand Down Expand Up @@ -81,7 +81,7 @@ async fn test_client_with_stun_send_binding_request_to_parallel() -> Result<()>
let (stared_tx, mut started_rx) = mpsc::channel::<()>(1);
let (finished_tx, mut finished_rx) = mpsc::channel::<()>(1);

let to = lookup_host(true, "stun1.l.google.com:19302").await?;
let to = lookup_host(true, "stun.cloudflare.com:3478").await?;

tokio::spawn(async move {
drop(stared_tx);
Expand Down
2 changes: 1 addition & 1 deletion util/src/conn/conn_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use super::*;

#[tokio::test]
async fn test_conn_lookup_host() -> Result<()> {
let stun_serv_addr = "stun1.l.google.com:19302";
let stun_serv_addr = "stun.cloudflare.com:3478";

if let Ok(ipv4_addr) = lookup_host(true, stun_serv_addr).await {
assert!(
Expand Down
Loading