Highlights
- Add
ClientBuilder::http3_congestion_bbr()
to enable BBR congestion control. - Add
ClientBuilder::http3_send_grease()
to configure whether to send use QUIC grease. - Add
ClientBuilder::http3_max_field_section_size()
to configure the maximum response headers. - Add
ClientBuilder::tcp_keepalive_interval()
to configure TCP probe interval. - Add
ClientBuilder::tcp_keepalive_retries()
to configure TCP probe count. - Add
Proxy::headers()
to add extra headers that should be sent to a proxy. - Fix
redirect::Policy::limit()
which had an off-by-1 error, allowing 1 more redirect than specified. - Fix HTTP/3 to support streaming request bodies.
- (wasm) Fix null bodies when calling
Response::bytes_stream()
.
What's Changed
- Clarify that
Response::content_length()
is not derived from aContent-Length
header in docs by @babolivier in #2588 - docs: link to
char::REPLACEMENT_CHARACTER
by @marcospb19 in #1880 - feat: add H3 client config support by @smalls0098 in #2609
- chore: update brotli to v7 by @nyurik in #2620
- Do not pull in an entirely different DEFLATE implementation just for tests by @Shnatsel in #2625
- chore: fix some typos in comment by @xixishidibei in #2628
- fix(wasm): handle null body in bytes_stream by @alongubkin in #2632
ClientBuilder::interface
on macOS/Solarish OSes by @hawkw in #2623- ci: use ubuntu-latest in nightly job by @seanmonstar in #2646
- feat: BBR congestion control for http3 by @threeninesixseven in #2642
- feat: Add extentions for Request by @Xuanwo in #2647
- refactor: Store request timeout in request extensions instead by @Xuanwo in #2650
- chore: make ci pass by @linyihai in #2666
- update h3 dependencys by @Ruben2424 in #2670
- Document reqwest can make TLS and cookie requests with Wasm by @nickbabcock in #2661
- fix(redirect): make the number of redirects of policy matches its maximum limit. by @linyihai in #2664
- Exposed hyper tcp keepalive interval and retries parameters by @mackliet in #2675
- refactor: use hyper-util's proxy::Matcher by @seanmonstar in #2681
- Support streaming request body in HTTP/3 by @ducaale in #2673
- refactor: use hyper-util
Tunnel
by @seanmonstar in #2684 - Upgrade webpki-roots to 1 by @djc in #2688
- refactor: remove
futures-util
unless usingstream
/multipart
/compression/blocking
by @paolobarbolini in #2692 - chore: replace rustls-pemfile with rustls-pki-types by @tottoto in #2541
- Ensure H3ResponseFuture Implements Sync by @ducaale in #2685
- feat(redirect): Using
FollowRedirect
fromtower-http
to handle theredirect
loop by @linyihai in #2617 - feat: add customizable headers in proxy mode by @chanbengz in #2600
- Prepare v0.12.16 by @seanmonstar in #2694
New Contributors
- @babolivier made their first contribution in #2588
- @marcospb19 made their first contribution in #1880
- @smalls0098 made their first contribution in #2609
- @Shnatsel made their first contribution in #2625
- @xixishidibei made their first contribution in #2628
- @alongubkin made their first contribution in #2632
- @hawkw made their first contribution in #2623
- @threeninesixseven made their first contribution in #2642
- @linyihai made their first contribution in #2666
- @Ruben2424 made their first contribution in #2670
- @nickbabcock made their first contribution in #2661
- @mackliet made their first contribution in #2675
- @tottoto made their first contribution in #2541
- @chanbengz made their first contribution in #2600
Full Changelog: v0.12.15...v0.12.16