-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass through AsyncBufRead #2
Comments
To make this work we need to for that we need
|
Note that we may also need to forward |
tokio-rustls now passes AsyncBufRead through since version 0.26.2: Delta Chat currently can use both async-native-tls (when strict certificate checks are disabled) and tokio-rustls, but always wraps the stream with BufReader anyway because it may be async-native-tls. Fixing this could prevent such double buffering. |
If AsyncBufRead is implemented on
T
, the stream should expose it. This makes some implementations much more efficient. Thanks!The text was updated successfully, but these errors were encountered: