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

[catloop] Close new duplex pipe when not MAGIC_CONNECT #837

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

iyzhang
Copy link
Contributor

@iyzhang iyzhang commented Jul 7, 2023

The first value that the server expects to receive on any new duplex pipe is MAGIC_CONNECT to validate that the client is using the right port. If we receive anything else, we should close the duplex_pipe and move on to the next request. This PR closes #778

@iyzhang iyzhang added the bug Something Isn't Working label Jul 7, 2023
@iyzhang iyzhang requested review from anandbonde and ppenna July 7, 2023 22:49
@iyzhang iyzhang self-assigned this Jul 7, 2023
@iyzhang iyzhang force-pushed the bugfix-catloop-close-pipes branch from 2163128 to 032308d Compare July 7, 2023 23:02
Copy link
Contributor

@ppenna ppenna left a comment

Choose a reason for hiding this comment

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

LGTM

@ppenna ppenna changed the title [catloop] Bug Fix: Close new duplex pipe when not MAGIC_CONNECT [catloop] Close new duplex pipe when not MAGIC_CONNECT Jul 10, 2023
@iyzhang iyzhang force-pushed the bugfix-catloop-close-pipes branch from 032308d to 28ccab9 Compare July 10, 2023 16:18
@iyzhang iyzhang merged commit 5dc09da into dev Jul 10, 2023
11 checks passed
@iyzhang iyzhang deleted the bugfix-catloop-close-pipes branch July 10, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something Isn't Working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[catloop] Close pipes when ack from client fails
2 participants