-
Notifications
You must be signed in to change notification settings - Fork 88
Add a bool return from onConfigure and add onValidateConfiguration(). #190
Conversation
envoyproxy#183 Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
FYI: as a sideeffect of me improving my dev environment to auto-format files, the API file is now being formatted in Envoy style. If this makes the review too difficult tell me and I'll do that separately. |
…alidate Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
…alidate Signed-off-by: John Plevyak <[email protected]>
Signed-off-by: John Plevyak <[email protected]>
Ping |
Signed-off-by: John Plevyak <[email protected]>
…alidate Signed-off-by: John Plevyak <[email protected]>
@@ -3,9 +3,10 @@ | |||
|
|||
#include "proxy_wasm_intrinsics.h" | |||
|
|||
extern "C" EMSCRIPTEN_KEEPALIVE void proxy_onConfigure(uint32_t, int bad, char* configuration, | |||
int size) { | |||
extern "C" EMSCRIPTEN_KEEPALIVE uint32_t proxy_onConfigure(uint32_t, int bad, char* configuration, |
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.
Nit: you could have left it as void proxy_onConfigure(uint32_t, char* configuration, int size)
, since it's supposed to be bad signature anyway.
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.
Yes, but does it reverts the approval if I change anything... ?
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.
Probably.
#183
Signed-off-by: John Plevyak [email protected]
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]