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

🚚 Support for trailers and trailer modification #327

Merged
merged 14 commits into from
Oct 23, 2023
Merged

Conversation

acw
Copy link
Contributor

@acw acw commented Oct 23, 2023

This branch adds support for trailers and trailer modification through Viceroy, all of which should be considered experimental for the time being, as we explore the right interfaces for this work.

I've validated this version against grpcurl and an open grpc interface.

@acw acw marked this pull request as ready for review October 23, 2023 20:37
@acw acw requested a review from acfoltzer October 23, 2023 20:37
Copy link
Contributor

@acfoltzer acfoltzer left a comment

Choose a reason for hiding this comment

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

Some small fixes, then good to go imo 👍🏻

lib/compute-at-edge-abi/typenames.witx Outdated Show resolved Hide resolved
lib/src/body.rs Outdated Show resolved Hide resolved
lib/src/body.rs Outdated Show resolved Hide resolved
@acw acw requested a review from acfoltzer October 23, 2023 21:20
Copy link
Contributor

@acfoltzer acfoltzer left a comment

Choose a reason for hiding this comment

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

That Windows thing is weird. We should be on the lookout for reports of it behaving strangely

@acw acw merged commit 94b005f into main Oct 23, 2023
7 checks passed
@acw acw deleted the mzeller/trailers branch October 23, 2023 21:27
cmckendry pushed a commit to 1stdibs/Viceroy that referenced this pull request Feb 8, 2024
This PR adds support for trailers.

Trailers can be extremely useful for gRPC connections, and this PR allows trailers from a backend connection to flow back through the system. This usage is validated in tests, and has been independently validated by examples on my laptop. In addition, it provides experimental support for viewing, modifying, and/or adding trailers through a new set of ABI functions.

---------

Co-authored-by: Mike Zeller <mzeller@fastly.com>
Co-authored-by: Adam C. Foltzer <acfoltzer@acfoltzer.net>
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.

2 participants