use trust-dns in reqwest
The default DNS resolution, if interrupted by an Abortable, will
cause a panic:
57ef271500/src/client/connect/dns.rs (L144)
This commit is contained in:
parent
63201d450d
commit
abe90d0772
@ -59,10 +59,10 @@ version = "0.23.1"
|
||||
features = ["trace", "functions", "collation", "bundled"]
|
||||
|
||||
[target.'cfg(linux)'.dependencies]
|
||||
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "native-tls-vendored"] }
|
||||
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "trust-dns", "native-tls-vendored"] }
|
||||
|
||||
[target.'cfg(not(linux))'.dependencies]
|
||||
reqwest = { version = "0.10.1", features = ["json", "socks", "stream" ] }
|
||||
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "trust-dns" ] }
|
||||
|
||||
[build-dependencies]
|
||||
prost-build = "0.6.1"
|
||||
|
Loading…
Reference in New Issue
Block a user