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

fix: make prefetch lazy again #229

Closed
wants to merge 15 commits into from
Closed

fix: make prefetch lazy again #229

wants to merge 15 commits into from

Conversation

ydylla
Copy link
Collaborator

@ydylla ydylla commented Aug 6, 2024

This changes layer4 to again only read lazily from the connection during matching.
With this tcp proxy configs for protocols where the server speaks first work again.

I have also added some example configs for these cases to #209 "matcher without io" & "server speaks first".

Closes #212, #228

@mholt This is based on #210 since I wanted to test it together with all the other fixes & tests. I also think this version of the matching loop is even simpler because we do not need a labeled jump or a "global" routeIdx anymore.

@ydylla
Copy link
Collaborator Author

ydylla commented Aug 25, 2024

Superseded by #208

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.

Regression: PROXY protocol line sent only when first data arrives from client
1 participant