Skip to content
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

Rust binding ConnectionFuture requires Sync while most Futures do not #4981

Open
jmayclin opened this issue Dec 16, 2024 · 0 comments
Open

Comments

@jmayclin
Copy link
Contributor

Problem:

ConnectionFuture requires that the inner future be Sync, but this creates some friction within the ecosystem.

This friction is demonstrated in #4980 , where customers have to spawn a separate tokio task and await on it to use the AWS SDK inside s2n-tls callbacks.

Solution:

We could remove the Sync bound from our futures. There is some good reading here

Requirements / Acceptance Criteria:

Friction with the AWS SDK is a good touchstone. We should either remove this friction or have a very clearly documented reason we need this friction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants