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

header write operations should be done in envoy thread #13

Open
doujiang24 opened this issue Oct 25, 2022 · 0 comments
Open

header write operations should be done in envoy thread #13

doujiang24 opened this issue Oct 25, 2022 · 0 comments

Comments

@doujiang24
Copy link
Member

otherwise, there might be a race between go thread write and envoy thread read.

we could resolve it, by:

  1. buffer the write operations on the Go side,
  2. passing to envoy thread in batch, by dispatch a post event, before header continue.
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