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

[Parse incomplete chunks 9/9] Add bpf test for loop limit exceeded #1794

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benkilimnik
Copy link
Member

Summary: Adds a bpf test for HTTP that triggers the gap condition LoopLimitExceeded based on a NodeJS application submitted in community slack. It submits an iovec with 257 elements, which is greater than our loop limit of 42. Our current behavior is that we merge 41 events into the data stream buffer, getting us to 878 bytes. Then on 42nd iov we reach loop limit, record the gap in metadata, and pad the rest with filler (or leave a gap if lazy parsing is enabled).

Type of change: /kind feature

Test Plan: Tested for both lazy and non-lazy HTTP parsing. Checked that metrics consistently show the loop limit exceeded condition for an iovec with length 257.

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.

None yet

1 participant