-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
build: adding an disable_exceptions (which does not yet work) #27811
Conversation
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
raven I seem to remember the parity of build options sometimes biting y'all. This is a no-op by default which I think is what you need but throwing it your way to confirm :-) |
I think this is unproblematic, because it's both defaulting to disabled and also behaving disabled if the config value is entirely unset (which is where we were bitten before). Thanks for thinking of me. :) |
/wait I think format is broken =P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very exciting!
/wait again |
@@ -105,41 +105,41 @@ InstanceImpl::InstanceImpl( | |||
router_context_(store.symbolTable()), process_context_(std::move(process_context)), | |||
hooks_(hooks), quic_stat_names_(store.symbolTable()), server_contexts_(*this), | |||
enable_reuse_port_default_(true), stats_flush_in_progress_(false) { | |||
std::function set_up_logger = [&] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix format and clang could not handle nested macros so I had to avoid it with std::functions :-/
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
…roxy#27811) The new build option simply compiles out all try/catch code, while leaving in the exceptions. This can not yet be successfully used as it turns up fno-exceptions which chokes on throw statements. This is by design as if we compiled out throw as well, config failures would be fatal instead of gracefully handled. Risk Level: low Testing: manual testing Docs Changes: n/a Release Notes: n/a Part of envoyproxy#27412 Signed-off-by: Alyssa Wilk <alyssar@chromium.org> Signed-off-by: asheryer <asheryer@amazon.com>
…roxy#27811) The new build option simply compiles out all try/catch code, while leaving in the exceptions. This can not yet be successfully used as it turns up fno-exceptions which chokes on throw statements. This is by design as if we compiled out throw as well, config failures would be fatal instead of gracefully handled. Risk Level: low Testing: manual testing Docs Changes: n/a Release Notes: n/a Part of envoyproxy#27412 Signed-off-by: Alyssa Wilk <alyssar@chromium.org> Signed-off-by: Ryan Eskin <ryan.eskin89@protonmail.com>
The new build option simply compiles out all try/catch code, while leaving in the exceptions. This can not yet be successfully used as it turns up fno-exceptions which chokes on throw statements. This is by design as if we compiled out throw as well, config failures would be fatal instead of gracefully handled.
Risk Level: low
Testing: manual testing
Docs Changes: n/a
Release Notes: n/a
Part of #27412