[sr-dev] git:master:c10c1d7f: core: keep a stack of msg env data