modified: src/client.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
This commit is contained in:
parent
595c2f908b
commit
587fad64f7
@ -119,11 +119,13 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
|
|||||||
|
|
||||||
let s_cipher = cipher_shared.clone();
|
let s_cipher = cipher_shared.clone();
|
||||||
loop {
|
loop {
|
||||||
//if close_token.is_cancelled() {
|
if close_token.is_cancelled() {
|
||||||
//sock_read_task.abort();
|
//sock_read_task.abort();
|
||||||
//dev_read_task.abort();
|
//dev_read_task.abort();
|
||||||
//return;
|
//return;
|
||||||
//}
|
ltx.send("Closed token called".as_bytes().to_vec());
|
||||||
|
return;
|
||||||
|
}
|
||||||
if let Ok(bytes) = rx.try_recv() {
|
if let Ok(bytes) = rx.try_recv() {
|
||||||
ltx.send("Write to tun.".as_bytes().to_vec());
|
ltx.send("Write to tun.".as_bytes().to_vec());
|
||||||
if let Err(e) = dev_writer.write_all(&bytes).await {
|
if let Err(e) = dev_writer.write_all(&bytes).await {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user