-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add support for adding externally owned data into Envoy's buffer. #2277
Labels
Comments
+1, maybe introduce a |
mattklein123
added
enhancement
Feature requests. Not bugs or questions.
area/perf
labels
Dec 29, 2017
Note that I would like to completely replace evbuffer with our own buffer class. That is tracked here: #232 |
jpsim
pushed a commit
that referenced
this issue
Nov 28, 2022
…2277) Running tools/vscode_compdb.py to generate the code completion symbols for VSCode produces an error because the .bazelversion in Envoy may not be available in certain environments. The recommendation is to use bazelisk, but the compilation database script defaults to using bazel. This change enables the VSCode compilation database generation script to use bazelisk if it is available on the system; if not, it will use bazel. Risk Level: low Testing: local Docs Changes: N/A Release Notes: N/A Signed-off-by: Ali Beyad <abeyad@google.com> Signed-off-by: JP Simard <jp@jpsim.com>
jpsim
pushed a commit
that referenced
this issue
Nov 29, 2022
…2277) Running tools/vscode_compdb.py to generate the code completion symbols for VSCode produces an error because the .bazelversion in Envoy may not be available in certain environments. The recommendation is to use bazelisk, but the compilation database script defaults to using bazel. This change enables the VSCode compilation database generation script to use bazelisk if it is available on the system; if not, it will use bazel. Risk Level: low Testing: local Docs Changes: N/A Release Notes: N/A Signed-off-by: Ali Beyad <abeyad@google.com> Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current evbuffer implementation of Buffer::Instance does not have an API to pass a pointer to externally owned data into the buffer in order to avoid copying. Evbuffer has
evbuffer_add_reference
which allows this functionality, but the Instance interface needs to be modified to take advantage of this.The text was updated successfully, but these errors were encountered: