seanmonstar / reqwest

An easy and powerful Rust HTTP Client
https://docs.rs/reqwest
Apache License 2.0
9.96k stars 1.13k forks source link

system_conf::read_system_conf() get failed in Android #2444

Closed oorrnae closed 1 month ago

oorrnae commented 1 month ago

error: "error reading DNS system conf: io error: No such file or directory (os error 2)"

seanmonstar commented 1 month ago

The looks like an older error message, can you try upgrading reqwest? Also, that probably only happens if you enable trust-dns/hickory-dns. If you use the default resolver, you shouldn't see an error.