-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update to native-tls 0.2 #308
Comments
This seems to depend on upgrading (To save anyone else doing some of the work..) |
To get this into the 0.8.x branch, the code from tokio-tls and hyper-tls would need to be inlined into reqwest directly, since hyper-tls already expects hyper 0.12. I asked about the changes in native-tls, and it's mostly new features, so it seems best to just make this upgrade along with the hyper 0.12 upgrade, being part of reqwest 0.9. |
The upgrade to hyper 0.12 is done, so the next step here would be to just upgrade to |
This still depends on: tokio-rs/tokio-tls#43 , without it, Line 72 in c1c5f14
connect_async doesn't make sense.
Also, I suspect |
hyper-tls 0.3 dropped the tokio-tls dependency, so we're not blocked. The danger method can customize the TlsConnector directly. |
I have no idea how to proceed. The code in hyper_tls seems to solve this issue by using |
@FauxFaux what issue exactly are you running into? Would you be able to push a diff somewhere? |
I have a branch that isn't ready to be merged if someone wants to check it. https://github.com/sbditto85/reqwest/tree/update_native_tls the reason it isn't ready to be merged is i had to update tokio-tls and I'm not sure I updated it properly as I'm new to the ecosystem. my updates to tokio-tls are found at https://github.com/sbditto85/tokio-tls/tree/update_native_tls and I basically commented out one of the functions as TlsConnector doesn't have it anymore. Not sure the best way to proceed. |
Is there a reason tokio-tls is still needed? I don't think it should be required anymore... |
used in not sure where else though |
Oh shoot, you're right, it's need to tunneled proxies. Gah, I'd rather not have a dependency on tokio-tls, since it's lagging behind (still depends on tokio-core) and probably won't get much attention... Perhaps the |
I hope your not asking me haha ... i have no idea how most of this works. Just figuring it out now :) |
Added my take of this at #313 (already did this last week and forgot to send a PR). Pending tokio-rs/tokio-tls#43 |
This was done in #325! |
native-tls
0.2 brings in theopenssl
update from 0.9 to 0.10.The text was updated successfully, but these errors were encountered: