Uh oh!
There was an error while loading. Please reload this page.
Introduce async callbacks - #134
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.
This comment was marked as outdated.
3691580 to
8c6fd07Compare31af102 to
71dad44Compare
This comment was marked as outdated.
This comment was marked as outdated.
2694e68 to
e5bb7c6Comparenox
commented
Aug 4, 2023
I removed the biggest breaking change (the removal of |
ed4142d to
abf3ec4Comparenox
commented
Aug 4, 2023
The one missing thing from the PR is tests for |
Noah-Kennedy
left a comment
There was a problem hiding this comment.
I'm a bit nervous about a few things I see, and I'd like to go over this more thoroughly tomorrow or Monday.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
df99127 to
2ba3db5CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
032898f to
f837aebCompareUh oh!
There was an error while loading. Please reload this page.
These lists are hardcoded and the calls have no business failing in the first place.
These two new kinds of methods immediately return a MidHandshakeSslStream instead of actually initiating a handshake. This greatly simplifies loops around MidHandshakeSslStream::WouldBlock.
This encapsulates a bit better the unsafety of task context management to invoke async code from inside boring.
To handle lifetimes better and allow returning a &mut SslRef from the client hello struct passed to the closure from SslContextBuilder::set_select_certificate_callback, we make the ClientHello struct itself own a reference to the FFI client hello struct.
We introduce tokio_boring::SslContextBuilderExt, with 2 methods: * set_async_select_certificate_callback * set_async_private_key_method
No description provided.