Tweak network client settings

This commit is contained in:
FliegendeWurst 2020-04-22 12:53:50 +02:00
parent 36a78eb4d9
commit dc55666255

View File

@ -228,8 +228,7 @@ impl ILIAS {
let pass = pass.into();
let client = Client::builder()
.cookie_store(true)
.user_agent("KIT-ILIAS-downloader/0.1.0")
.max_idle_per_host(1)
.user_agent("KIT-ILIAS-downloader/0.2.0")
.build()?;
let this = ILIAS {
opt, client, user, pass