Skip to content

Conversation

@twsouthwick
Copy link
Member

@twsouthwick twsouthwick commented Dec 6, 2024

The remote session sharing current creates two connections when in non-readonly mode:

  • One request to GET the session data
  • One request to PUT the session data

This PR adds a POST verb to the endpoint that expects full-duplex streaming to be available and allows
for receiving the session state first and then sending the result back once committed.

Since this requires HTTP2 and SSL, there is a flag to go back to the original implementation as well.

For readonly mode, the original client implementation is used as it calls the GET endpoint and doesn't
need to send any results back.

@twsouthwick twsouthwick force-pushed the full-duplex branch 2 times, most recently from 3b2eb82 to 57c5133 Compare December 9, 2024 18:13
@twsouthwick twsouthwick marked this pull request as ready for review December 11, 2024 22:56
@twsouthwick twsouthwick requested a review from mjrousos January 6, 2025 19:07
Copy link
Member

@mjrousos mjrousos left a comment

Choose a reason for hiding this comment

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

LGTM

@twsouthwick twsouthwick enabled auto-merge (squash) January 7, 2025 23:03
@twsouthwick twsouthwick merged commit 2a91466 into main Jan 7, 2025
5 checks passed
@twsouthwick twsouthwick deleted the full-duplex branch January 7, 2025 23:10
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.

3 participants