Use upstream reqwest instead of vendored one #952

Merged
tbu- merged 1 commit from pr_upstream_reqwest into next 2024-01-24 21:59:35 +00:00
tbu- commented 2023-08-01 23:05:03 +00:00 (Migrated from gitlab.com)

This uses the ClientBuilder::dns_resolver function that was added in reqwest 0.11.13, instead of the homebrew ClientBuilder::resolve_fn.


  • I agree to release my code and all other changes of this MR under the Apache-2.0 license
This uses the `ClientBuilder::dns_resolver` function that was added in reqwest 0.11.13, instead of the homebrew `ClientBuilder::resolve_fn`. ----------------------------------------------------------------------------- - [x] I agree to release my code and all other changes of this MR under the Apache-2.0 license
x4u commented 2023-08-07 00:40:28 +00:00 (Migrated from gitlab.com)

What upgrade path do you have in mind for Hyper 1.0 when hyper::client::connect gets moved into the less stable hyper-util?

What upgrade path do you have in mind for Hyper 1.0 when `hyper::client::connect` gets moved into the less stable `hyper-util`?
tbu- commented 2023-08-07 19:12:01 +00:00 (Migrated from gitlab.com)

Probably referring to the following in hyper's CHANGELOG.md:

Use connect from hyper-util. (5e206883)
This links to the following PR: https://github.com/hyperium/hyper/pull/2949.

From the text, it sounds like depending on hyper-util in addition to hyper will work.

Probably referring to the following in [hyper's CHANGELOG.md](https://github.com/hyperium/hyper/blob/8dfeb73b2cb851aab456a67a95b0c8bf3c784c14/CHANGELOG.md#breaking-changes-3): > Use connect from hyper-util. (5e206883) This links to the following PR: https://github.com/hyperium/hyper/pull/2949. From the text, it sounds like depending on hyper-util in addition to hyper will work.
x4u commented 2023-08-09 23:08:44 +00:00 (Migrated from gitlab.com)

Thanks! I agree that’ll work. If people are comfortable about depending on hyper-util, we could start moving over when it’s released: https://github.com/hyperium/hyper-util/blob/master/src/client/connect/dns.rs

Thanks! I agree that’ll work. If people are comfortable about depending on `hyper-util`, we could start moving over when it’s released: https://github.com/hyperium/hyper-util/blob/master/src/client/connect/dns.rs
tbu- commented 2023-08-10 14:27:11 +00:00 (Migrated from gitlab.com)

It doesn't look like you need to wait until hyper-util is released. The changes work with hyper 0.14 and it'll also be possible to make them work once hyper 1.0 is released.

It doesn't look like you need to wait until `hyper-util` is released. The changes work with `hyper 0.14` and it'll also be possible to make them work once `hyper 1.0` is released.
girlbossceo commented 2023-09-03 16:49:03 +00:00 (Migrated from gitlab.com)

mentioned in issue #343

mentioned in issue #343
Aranjedeath commented 2024-01-24 03:51:44 +00:00 (Migrated from gitlab.com)

I have been using this for a month or two, and it works well for me. It stopped an observed crash with malformed well-known file.

I have been using this for a month or two, and it works well for me. It stopped an observed crash with malformed well-known file.
timokoesters commented 2024-01-24 16:11:29 +00:00 (Migrated from gitlab.com)

Given the positive responses, I will merge this, but we will have to think about upgrading the dependencies soon, the GaiResolver was moved into hyper-util and marked as legacy

Given the positive responses, I will merge this, but we will have to think about upgrading the dependencies soon, the GaiResolver was moved into hyper-util and marked as `legacy`
timokoesters commented 2024-01-24 16:13:10 +00:00 (Migrated from gitlab.com)

added 69 commits

  • f8177be3...5cf9f3df - 68 commits from branch famedly:next
  • 69d00032 - Use upstream `reqwest` instead of vendored one

Compare with previous version

added 69 commits <ul><li>f8177be3...5cf9f3df - 68 commits from branch <code>famedly:next</code></li><li>69d00032 - Use upstream `reqwest` instead of vendored one</li></ul> [Compare with previous version](/famedly/conduit/-/merge_requests/527/diffs?diff_id=904018541&start_sha=f8177be34c68a27d8e232592cedeadb35f7e4296)
timokoesters commented 2024-01-24 21:59:35 +00:00 (Migrated from gitlab.com)

mentioned in commit c86f9a5c5b

mentioned in commit c86f9a5c5bee16daed9bc5f863d86b84f1026fa4
CobaltCause commented 2024-01-25 00:08:09 +00:00 (Migrated from gitlab.com)

mentioned in issue #327

mentioned in issue #327
Sign in to join this conversation.
No reviewers
No labels
Android
CS::needs customer feedback
CS::needs follow up
CS::needs on prem installation
CS::waiting
Chrome
Design:: Ready
Design:: in progress
Design::UX
E2EE
Edge
Firefox
GDPR
Iteration 13 IM
Linux
MacOS
Need::Discussion
Need::Steps to reproduce
Need::Upstream fix
Needs:: Planning
Needs::Dev-Team
Needs::More information
Needs::Priority
Needs::Product
Needs::Refinement
Needs::Severity
Priority::1-Critical
Priority::2-Max
Priority::3-Impending
Priority::4-High
Priority::5-Medium
Priority::6-Low
Priority::7-None
Progress::Backlog
Progress::Review
Progress::Started
Progress::Testing
Progress::Triage
Progress::Waiting
Reporter::Sentry
Safari
Target::Community
Target::Customer
Target::Internal
Target::PoC
Target::Security
Team:Customer-Success
Team:Design
Team:Infrastructure
Team:Instant-Messaging
Team:Product
Team:Workflows
Type::Bug
Type::Design
Type::Documentation
Type::Feature
Type::Improvement
Type::Support
Type::Tests
Windows
blocked
blocked-by-spec
cla-signed
conduit
contribution::advanced
contribution::easy
contribution::help needed
from::review
iOS
p::ti-tenant
performance
product::triage
proposal
refactor
release-blocker
s: dart_openapi_codegen
s::Famedly-Patient
s::Org-Directory
s::Passport-Generator
s::Requeuest
s:CRM
s:Famedly-App
s:Famedly-Web
s:Fhiroxide
s:Fhiroxide-cli
s:Fhiroxide-client
s:Fhirs
s:Hedwig
s:LISA
s:Matrix-Dart-SDK
s:Role-Manager
s:Synapse
s:User-Directory
s:WFS-Matrix
s:Workflow Engine
s:dtls
s:famedly-error
s:fcm-shared-isolate
s:matrix-api-lite
s:multiple-tab-detector
s:native-imaging
severity::1
severity::2
severity::3
severity::4
technical-debt
voip
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Matthias/conduit#952
No description provided.