You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reqwest does not offer enough flexibility, and therefore must be configured for edge cases.
An example is TLS renegotiation in non-controllable environments, such as Xbox Live API (see dart-lang/sdk#47841 for more details).
native-tls seems to work fine for Linux, however MacOS has renegotiation disabled by default on security framework for security reasons. rusttls does not support renegotiation due to security reasons.
The solution
The workaround I have found is to use hyper-openssl with hyper directly. However, this does not provide the user-friendliness that reqwest does. Seeing how reqwest uses hyper under the hood, I believe there should be an option for the user to configure a predefined hyper client.
The text was updated successfully, but these errors were encountered:
An issue with doing that directly is that reqwest depends on setting some stuff directly, such as the proxy support.
I do hope to eventually have reqwest refactored such that many of its convenience pieces can just be like tower middleware, perhaps stuff living in tower-http. Then it would be easier to grab the different layers and customize your own stack...
The Issue
reqwest
does not offer enough flexibility, and therefore must be configured for edge cases.An example is TLS renegotiation in non-controllable environments, such as Xbox Live API (see dart-lang/sdk#47841 for more details).
native-tls
seems to work fine for Linux, however MacOS has renegotiation disabled by default on security framework for security reasons.rusttls
does not support renegotiation due to security reasons.The solution
The workaround I have found is to use
hyper-openssl
withhyper
directly. However, this does not provide the user-friendliness that reqwest does. Seeing howreqwest
useshyper
under the hood, I believe there should be an option for the user to configure a predefinedhyper
client.The text was updated successfully, but these errors were encountered: