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

envoy: Update proxylib interface #14560

Merged
merged 1 commit into from
Jan 14, 2021
Merged

Conversation

jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Jan 8, 2021

The number of bytes requested by a proxylib parser was not reset after
the bytes were delivered, which required parsers to request a specific
number of bytes after each frame. Existing parsers do this, so they
are not affected.

In this version the Cilium network filter is changed to reset the
number of needed bytes to zero after they are received so that the
parser will be called again even if it does not issue an explicit MORE
operation.

Signed-off-by: Jarno Rajahalme jarno@covalent.io

@jrajahalme jrajahalme added area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. release-note/misc This PR makes changes that have no direct user impact. labels Jan 8, 2021
@jrajahalme jrajahalme requested a review from a team as a code owner January 8, 2021 10:20
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Jan 8, 2021
@jrajahalme jrajahalme marked this pull request as draft January 8, 2021 10:20
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme
Copy link
Member Author

retest-gke

@jrajahalme
Copy link
Member Author

Known flake #13774 on k8s 1.20.

@jrajahalme
Copy link
Member Author

retest-4.9

@jrajahalme
Copy link
Member Author

Known flake #12511 on netnext

@jrajahalme
Copy link
Member Author

retest-net-next

@jrajahalme jrajahalme force-pushed the pr/jrajahalme/envoy-fix-proxylib branch from 68d25f8 to 9be77b4 Compare January 8, 2021 20:50
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme jrajahalme assigned aditighag and unassigned twpayne Jan 9, 2021
The number of bytes requested by a proxylib parser was not reset after
the bytes were delivered, which required parsers to request a specific
number of bytes after each frame. Existing parsers do this, so they
are not affected.

In this version the Cilium network filter is changed to reset the
number of needed bytes to zero after they are received so that the
parser will be called again even if it does not issue an explicit MORE
operation.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
@jrajahalme jrajahalme force-pushed the pr/jrajahalme/envoy-fix-proxylib branch from 9be77b4 to 98b12cb Compare January 13, 2021 16:08
@jrajahalme
Copy link
Member Author

test-me-please

@jrajahalme jrajahalme marked this pull request as ready for review January 13, 2021 16:09
@aanm aanm merged commit 9955104 into master Jan 14, 2021
@aanm aanm deleted the pr/jrajahalme/envoy-fix-proxylib branch January 14, 2021 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/proxy Impacts proxy components, including DNS, Kafka, Envoy and/or XDS servers. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants