Skip to content

build: Update reqwest to same version as objectstore#5669

Open
jjbayer wants to merge 2 commits intomasterfrom
build/reqwest
Open

build: Update reqwest to same version as objectstore#5669
jjbayer wants to merge 2 commits intomasterfrom
build/reqwest

Conversation

@jjbayer
Copy link
Member

@jjbayer jjbayer commented Feb 27, 2026

No description provided.

@jjbayer jjbayer changed the title Build/reqwest build: Update reqwest to same version as objectstore Feb 27, 2026
@jjbayer jjbayer marked this pull request as ready for review February 27, 2026 13:15
@jjbayer jjbayer requested a review from a team as a code owner February 27, 2026 13:15
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

regex = "1.11.3"
regex-lite = "0.1.7"
reqwest = "0.12.23"
reqwest = { version = "0.13.2", features = ["blocking"] }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default TLS backend silently switches to rustls

Medium Severity

Upgrading reqwest from 0.12 to 0.13 silently changes the default TLS backend from native-tls to rustls. The ClientBuilder::new() calls in upstream.rs and healthcheck.rs don't explicitly select a TLS backend, so they'll now use rustls instead of native-tls. The native-tls-vendored feature is still enabled in both relay/Cargo.toml and relay-server/Cargo.toml, compiling vendored OpenSSL that relay's own HTTP clients no longer use. This suggests the switch may be unintentional.

Fix in Cursor Fix in Web

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, we need to be careful here.

regex = "1.11.3"
regex-lite = "0.1.7"
reqwest = "0.12.23"
reqwest = { version = "0.13.2", features = ["blocking"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, we need to be careful here.

regex = "1.11.3"
regex-lite = "0.1.7"
reqwest = "0.12.23"
reqwest = { version = "0.13.2", features = ["blocking"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workspace should be default-features = false and we can enable blocking in just the relay crate which needs it. Alternatively we can also asyncify that code path.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants