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

Update CLI hyper/http dependencies #1739

Merged
merged 4 commits into from
Jul 25, 2024

Conversation

jackkleeman
Copy link
Contributor

I will admit that this PR nearly broke me. Tunnel was heavily relying on the tower::Service semantics where poll_ready would be called repeatedly between HTTP requests, to process the trailers handshake that forms part of the protocol. To replace it I have used a tokio RWLock and a cancellation token

image

Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for creating this PR @jackkleeman. The changes look good to me. I guess you've tried them out with the cloud, right? +1 for merging after resolving my minor comments.

cli/Cargo.toml Outdated Show resolved Hide resolved
cli/Cargo.toml Outdated Show resolved Hide resolved
cli/Cargo.toml Outdated Show resolved Hide resolved
cli/src/commands/cloud/environments/tunnel/local.rs Outdated Show resolved Hide resolved
cli/src/commands/cloud/login.rs Outdated Show resolved Hide resolved
cli/src/commands/cloud/environments/tunnel/local.rs Outdated Show resolved Hide resolved
@jackkleeman jackkleeman merged commit 4c2d0a1 into restatedev:main Jul 25, 2024
6 checks passed
@jackkleeman jackkleeman deleted the update-tunnel branch July 25, 2024 16:25
@tillrohrmann tillrohrmann linked an issue Jul 29, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump hyper 1.0 in CLI tunnel and cloud login code
2 participants