Skip to content

gRPC callbacks are reentrant, defer them #373

Open
@PiotrSikora

Description

@PiotrSikora

gRPC callbacks are reentrant, leading to callback-during-callback, and crashes in SDKs.

Those should be deferred (similarly to callbacks for HTTP callouts, etc.)

Reported in proxy-wasm/proxy-wasm-rust-sdk#206, although plugins would crash even with deferred call due to unregistered token_id.

cc @mpwarres

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions