-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtls_client.log
More file actions
46 lines (40 loc) · 1.48 KB
/
tls_client.log
File metadata and controls
46 lines (40 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
warning: unused import: `tokio::io::AsyncReadExt`
--> src/server.rs:176:9
|
176 | use tokio::io::AsyncReadExt;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `std::path::Path`
--> src/tls.rs:3:5
|
3 | use std::path::Path;
| ^^^^^^^^^^^^^^^
warning: unused import: `debug`
--> src/tls.rs:6:11
|
6 | use log::{debug, error, info};
| ^^^^^
warning: unused imports: `AsyncReadExt` and `AsyncWriteExt`
--> src/tls.rs:9:17
|
9 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^
warning: unused import: `std::net::ToSocketAddrs`
--> src/tls_client.rs:99:13
|
99 | use std::net::ToSocketAddrs;
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: `socks5-rs` (lib) generated 5 warnings (run `cargo fix --lib -p socks5-rs` to apply 4 suggestions)
warning: unused import: `debug`
--> examples/tls_client.rs:1:11
|
1 | use log::{debug, info};
| ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `socks5-rs` (example "tls_client") generated 1 warning (run `cargo fix --example "tls_client"` to apply 1 suggestion)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
Running `target/debug/examples/tls_client`
[2025-06-21T14:11:11Z INFO tls_client] Connecting to example.com via TLS-secured SOCKS5 proxy...
Error: Custom { kind: InvalidData, error: InvalidCertificate(Other(CaUsedAsEndEntity)) }