mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2024-11-20 11:36:11 -05:00
Disable connection pooling, as it seems to break stuff
This commit is contained in:
parent
25084b928a
commit
c680c63f8a
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ lazy_static! {
|
||||||
.danger_accept_invalid_certs(true) // because some certs are out of date
|
.danger_accept_invalid_certs(true) // because some certs are out of date
|
||||||
.user_agent("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0") // so some sites (e.g. sciter.com) don't reject us
|
.user_agent("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0") // so some sites (e.g. sciter.com) don't reject us
|
||||||
.redirect(Policy::none())
|
.redirect(Policy::none())
|
||||||
|
.max_idle_per_host(0)
|
||||||
.timeout(time::Duration::from_secs(20))
|
.timeout(time::Duration::from_secs(20))
|
||||||
.build().unwrap();
|
.build().unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue