mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 07:36:38 +00:00
deps: Upgrade reqwest to 0.12.17 (#2168)
* Upgrade reqwest to 0.12.18 Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Enable bbr and early data for http3 Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * fix dep reqwest 0.12.18 does not exist use reqwest 0.12.17 Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Fix builder Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Fix setting tls early data Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Add reqwest_unstable as checked-cfg Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --------- Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
268643a6b5
commit
a333bb922d
2 changed files with 9 additions and 1 deletions
|
@ -144,6 +144,11 @@ impl Client {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(all(reqwest_unstable, feature = "http3"))]
|
||||
{
|
||||
builder = builder.http3_congestion_bbr().tls_early_data(true);
|
||||
}
|
||||
|
||||
builder
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue