You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I took it further and checked what happens, is Skeleton and Proxy use differently sized payloads. It does not crash, when the Proxy uses a smaller payload. But it left me wondering, because IIRC in shared memory metadata (for GenericProxy) there should be the size of the event written. Could this be used at connection setup to check if both sides use identically sized payload types?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
For methods the documentation clearly states, that payloads must be trivially copyable.
For events and fields I did not find such a strong statement so far. But I assume the same restriction applies as well. Is my assumption correct?
I also created a test to verify if there are any (compile time) assertions in regard to this. There is none.
Then I took it further and checked what happens, is Skeleton and Proxy use differently sized payloads. It does not crash, when the Proxy uses a smaller payload. But it left me wondering, because IIRC in shared memory metadata (for GenericProxy) there should be the size of the event written. Could this be used at connection setup to check if both sides use identically sized payload types?
All reactions