phoenix-dataplane / phoenix

Phoenix dataplane system service
https://phoenix-dataplane.github.io
Apache License 2.0
51 stars 9 forks source link

Replace `Unique` with `ShmPtr` in `MessageTemplate` to pass remote ptr of wrapped message between backend<->app #100

Closed libertyeagle closed 2 years ago

libertyeagle commented 2 years ago

In current implementation, MessageTemplate is implemented using Unique pointer. When backend pass a reply to app client, client cannot acquires the remote addr of the wrapped reply.