Skip to content

Disable reqwest default features to not depend on openssl#2421

Open
tylerhawkes wants to merge 2 commits intomozilla:mainfrom
nextdata-tech:main
Open

Disable reqwest default features to not depend on openssl#2421
tylerhawkes wants to merge 2 commits intomozilla:mainfrom
nextdata-tech:main

Conversation

@tylerhawkes
Copy link

Fixes #841

I also did a cargo update to get the latest dependencies. All the tests were able to build, and I did get a failure locally, but probably due to my setup.

@sylvestre
Copy link
Collaborator

sorry but it needs to be rebased

@tylerhawkes
Copy link
Author

sorry but it needs to be rebased

@sylvestre done

@sylvestre
Copy link
Collaborator

fails with:


  Downloaded base64ct v1.8.0
error: failed to download replaced source registry `crates-io`

Caused by:
  failed to parse manifest at `/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/base64ct-1.8.0/Cargo.toml`

Caused by:
  feature `edition2024` is required

  The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.75.0 (1d8b05cdd 2023-11-20)).

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.97%. Comparing base (624ef6d) to head (e48a1de).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2421      +/-   ##
==========================================
- Coverage   71.22%   67.97%   -3.25%     
==========================================
  Files          64       64              
  Lines       35214    34723     -491     
==========================================
- Hits        25080    23602    -1478     
- Misses      10134    11121     +987     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tylerhawkes
Copy link
Author

@sylvestre I think I have everything downgraded that is incompatible with 1.75

@tylerhawkes
Copy link
Author

Turns out updating with an older version requirement is just too hard, especially when I can't test out the windows stuff, so I'm downgrading this to just the one change to remove the default dependencies for reqwest.

@tylerhawkes
Copy link
Author

@sylvestre I just updated this again. Maybe the tests will pass this time after all the other crate updates.

tottoto added a commit to tottoto/sccache that referenced this pull request Feb 6, 2026
…a#2421)

## Motivation
This makes
[max_local_error_reset_streams](https://docs.rs/hyper/latest/hyper/server/conn/http2/struct.Builder.html#method.max_local_error_reset_streams)
configurable. We have an isolated environment where we create and close
many (valid) short-lived gRPC streams. We very quickly hit the 1024
limit on stream resets, which [initiates a
GoAway](https://doc.servo.org/src/h2/proto/streams/streams.rs.html#1583).
During connection recreation, the Python gRPC client misbehaves. We
would like the option to tune this limit, since this is a safe traffic
pattern for us.

## Solution
I've added `http2_max_local_error_reset_streams` to the `Server` API.

---------

Co-authored-by: alexanderrilee <alexanderrilee@users.noreply.github.com>
Co-authored-by: tottoto <tottotodev@gmail.com>
@valkum
Copy link

valkum commented Feb 18, 2026

Cargo install currently fails due to github.com/rust-native-tls/rust-native-tls/issues/367. It might be nice to get this merged to avoid such issues in the future (allowing users to switch between native-tls and rustls as they like).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sccache always links to OpenSSL

5 participants