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

[BUG] TCP metadata filter should be prepared for unhappy data paths #214

Open
2 tasks
bonifaido opened this issue Sep 15, 2023 · 0 comments
Open
2 tasks

Comments

@bonifaido
Copy link
Member

Description

Currently the TCP metadata Proxywasm filter (Rust -> Wasm) is "optimized" for the happy path of data packages. It crashes when the incoming byte array is not enough long for example. Also there are too much unconditional unwraps.

Expected Behavior

It should be working under any circumstances, these issues should be reviewed and handled.

Actual Behavior

Please describe what happened instead.

Affected Version

Please provide the version number where this issue was encountered.

Steps to Reproduce

  1. First step
  2. Second step
  3. etc.

Checklist

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

No branches or pull requests

1 participant